mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 20:47:28 +01:00
[DMDeploy] #1449 - Hot Fix chat command runtimes in dmapi.
This commit is contained in:
+1
-1
@@ -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
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user