mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +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))
|
||||
|
||||
Reference in New Issue
Block a user