[DMDeploy] #1449 - Hot Fix chat command runtimes in dmapi.

This commit is contained in:
Kyle Spier-Swenson
2023-04-07 13:00:40 -07:00
committed by GitHub
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<TgsApiVersion>9.9.0</TgsApiVersion>
<TgsApiLibraryVersion>10.3.0</TgsApiLibraryVersion>
<TgsClientVersion>11.3.0</TgsClientVersion>
<TgsDmapiVersion>6.3.0</TgsDmapiVersion>
<TgsDmapiVersion>6.3.1</TgsDmapiVersion>
<TgsInteropVersion>5.5.0</TgsInteropVersion>
<TgsHostWatchdogVersion>1.2.1</TgsHostWatchdogVersion>
<TgsContainerScriptVersion>1.2.1</TgsContainerScriptVersion>
+1 -1
View File
@@ -1,6 +1,6 @@
// tgstation-server DMAPI
#define TGS_DMAPI_VERSION "6.3.0"
#define TGS_DMAPI_VERSION "6.3.1"
// All functions and datums outside this document are subject to change with any version and should not be relied on.
+5 -1
View File
@@ -133,7 +133,11 @@
var/result = HandleCustomCommand(topic_parameters[DMAPI5_TOPIC_PARAMETER_CHAT_COMMAND])
if(!result)
result = TopicResponse("Error running chat command!")
result[DMAPI5_TOPIC_RESPONSE_CHAT_RESPONSES] = intercepted_message_queue
//TODO: make this not need the decode/encode.
if (length(intercepted_message_queue))
var/list/result_array = json_decode(result)
result_array[DMAPI5_TOPIC_RESPONSE_CHAT_RESPONSES] = intercepted_message_queue
result = json_encode(result_array)
intercepted_message_queue = null
return result
if(DMAPI5_TOPIC_COMMAND_EVENT_NOTIFICATION)