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

Automatic TGS DMAPI Update (#74584)

This pull request updates the TGS DMAPI to the latest version. Please
note any breaking or unimplemented changes before merging.

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
2023-04-09 21:01:00 +02:00
committed by GitHub
co-authored by orange man tgstation-server
parent e369cd2bf0
commit edcadde842
2 changed files with 6 additions and 2 deletions
+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)