Set sleep_offline before del(world)

This commit is contained in:
Jordan Dominion
2023-10-31 23:16:19 -04:00
parent f58ea64c96
commit ba0ccdff53
+1 -1
View File
@@ -14,8 +14,8 @@ TGS_DEFINE_AND_SET_GLOBAL(tgs, null)
/datum/tgs_api/proc/TerminateWorld()
while(TRUE)
TGS_DEBUG_LOG("About to terminate world. Tick: [world.time], sleep_offline: [world.sleep_offline]")
del(world)
world.sleep_offline = FALSE // https://www.byond.com/forum/post/2894866
del(world)
sleep(1)
TGS_DEBUG_LOG("BYOND DIDN'T TERMINATE THE WORLD!!! TICK IS: [world.time], sleep_offline: [world.sleep_offline]")