Update world.dm

This commit is contained in:
Razgriz
2021-06-24 19:03:06 -07:00
committed by GitHub
parent 54da6711ca
commit fd52d83d7a
+2 -8
View File
@@ -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()