Change all sleep(1)s into sleep(world.tick_lag)s

This commit is contained in:
Jordan Dominion
2024-02-19 16:56:01 -05:00
parent 0bbf7cd46a
commit ae3fa1785e
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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))
+1 -1
View File
@@ -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