mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 20:47:28 +01:00
Change all sleep(1)s into sleep(world.tick_lag)s
This commit is contained in:
@@ -203,7 +203,7 @@ var/run_bridge_test
|
||||
DetachedChatMessageQueuingP2()
|
||||
|
||||
/proc/DetachedChatMessageQueuingP2()
|
||||
sleep(1)
|
||||
sleep(world.tick_lag)
|
||||
DetachedChatMessageQueuingP3()
|
||||
|
||||
/proc/DetachedChatMessageQueuingP3()
|
||||
@@ -240,7 +240,7 @@ var/received_health_check = FALSE
|
||||
DelayCheckDetach()
|
||||
|
||||
/proc/DelayCheckDetach()
|
||||
sleep(1)
|
||||
sleep(world.tick_lag)
|
||||
// hack hack, calling world.TgsChatChannelInfo() will try to delay until the channels come back
|
||||
var/datum/tgs_api/v5/api = TGS_READ_GLOBAL(tgs)
|
||||
if(length(api.chat_channels))
|
||||
|
||||
@@ -32,4 +32,4 @@
|
||||
text2file(reason, "test_fail_reason.txt")
|
||||
world.log << "Terminating..."
|
||||
del(world)
|
||||
sleep(1) // https://www.byond.com/forum/post/2894866
|
||||
sleep(world.tick_lag) // https://www.byond.com/forum/post/2894866
|
||||
|
||||
Reference in New Issue
Block a user