From fd52d83d7adccdad80d8d5fecbee5f926f11868e Mon Sep 17 00:00:00 2001 From: Razgriz Date: Thu, 24 Jun 2021 19:03:06 -0700 Subject: [PATCH] Update world.dm --- code/game/world.dm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/code/game/world.dm b/code/game/world.dm index 4089e23fdf..5bb1ff4dfe 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -677,14 +677,8 @@ var/failed_old_db_connections = 0 return .*/ //This proc ensures that the connection to the feedback database (global variable dbcon) is established -/proc/establish_old_db_connection() - if(failed_old_db_connections > FAILED_DB_CONNECTION_CUTOFF) - return 0 - - if(!dbcon_old || !dbcon_old.IsConnected()) - return setup_old_database_connection() - else - return 1 +proc/establish_old_db_connection() + return SSdbcore.Connect() // Things to do when a new z-level was just made. /world/proc/max_z_changed()