mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[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:
co-authored by
orange man
tgstation-server
parent
e369cd2bf0
commit
edcadde842
@@ -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