tgui-panel: Soft ping (#66299)

* tgui-panel: Soft ping
This commit is contained in:
Aleksej Komarov
2022-04-19 16:35:43 +02:00
committed by GitHub
parent 7b1be157d7
commit fd0f398d6f
14 changed files with 90 additions and 33 deletions
+1 -1
View File
@@ -317,7 +317,7 @@
if(initialized)
send_full_update()
initialized = TRUE
if("pingReply")
if("ping/reply")
initialized = TRUE
if("suspend")
close(can_be_suspended = TRUE)
+1 -1
View File
@@ -325,7 +325,7 @@
// If not locked, handle these message types
switch(type)
if("ping")
send_message("pingReply", payload)
send_message("ping/reply", payload)
if("suspend")
close(can_be_suspended = TRUE)
if("close")