[MIRROR] Automatic TGS DMAPI Update [MDB IGNORE] (#17005)

* Automatic TGS DMAPI Update (#70662)

Update TGS DMAPI

Co-authored-by: tgstation-server <tgstation-server@ users.noreply.github.com>

* Automatic TGS DMAPI Update

Co-authored-by: orange man <61334995+comfyorange@users.noreply.github.com>
Co-authored-by: tgstation-server <tgstation-server@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-10-19 23:30:06 -04:00
committed by GitHub
co-authored by tgstation-server orange man
parent 140bacb19c
commit d10a30fc0d
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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]")
+1 -1
View File
@@ -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)