diff --git a/code/modules/tgs/v4/api.dm b/code/modules/tgs/v4/api.dm index caa7fac8686..0e37a7aa24c 100644 --- a/code/modules/tgs/v4/api.dm +++ b/code/modules/tgs/v4/api.dm @@ -181,7 +181,7 @@ var/json = json_encode(data) while(requesting_new_port && !override_requesting_new_port) - sleep(1 TICKS) + sleep(1) //we need some port open at this point to facilitate return communication if(!world.port) @@ -209,7 +209,7 @@ requesting_new_port = FALSE while(export_lock) - sleep(1 TICKS) + sleep(1) export_lock = TRUE last_interop_response = null @@ -217,7 +217,7 @@ text2file(json, server_commands_json_path) for(var/I = 0; I < EXPORT_TIMEOUT_DS && !last_interop_response; ++I) - sleep(1 TICKS) + sleep(1) if(!last_interop_response) TGS_ERROR_LOG("Failed to get export result for: [json]") diff --git a/code/modules/tgs/v5/api.dm b/code/modules/tgs/v5/api.dm index e45a9213fe8..572944ed401 100644 --- a/code/modules/tgs/v5/api.dm +++ b/code/modules/tgs/v5/api.dm @@ -92,7 +92,7 @@ /datum/tgs_api/v5/proc/RequireInitialBridgeResponse() while(!version) - sleep(1 TICKS) + sleep(1) /datum/tgs_api/v5/OnInitializationComplete() Bridge(DMAPI5_BRIDGE_COMMAND_PRIME)