From c5fc47eca40d4c8598ce66d595414d177aaf7ab5 Mon Sep 17 00:00:00 2001 From: Krausus Date: Tue, 7 Jun 2016 05:05:02 -0400 Subject: [PATCH] Fixes repeated database reconnections setup_database_connection resets the database connection each time it's called, and was being called for each new client --- code/modules/client/client procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 7e180419dc0..292120b65c5 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -316,7 +316,7 @@ send_resources() if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. -CP - if(!setup_database_connection()) + if(!establish_db_connection()) return // if we have db problems, don't show anything winset(src, "rpane.changelog", "background-color=#f4aa94;font-style=bold") to_chat(src, "Changelog has changed since your last visit.")