From 6d8b1c71002d1102750a611ff07aba227ecafb29 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Fri, 7 Apr 2023 11:56:24 -0700 Subject: [PATCH 1/3] Hot Fix chat command runtimes in dmapi. --- src/DMAPI/tgs/v5/api.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/DMAPI/tgs/v5/api.dm b/src/DMAPI/tgs/v5/api.dm index 0e75b0de1c..4bf593f35d 100644 --- a/src/DMAPI/tgs/v5/api.dm +++ b/src/DMAPI/tgs/v5/api.dm @@ -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) From 05987e434993fae6e301d6a9ab7191832b83c909 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Fri, 7 Apr 2023 12:11:37 -0700 Subject: [PATCH 2/3] Update tgs.dm dmapi version --- src/DMAPI/tgs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DMAPI/tgs.dm b/src/DMAPI/tgs.dm index e35ccb69d1..80df9d1d54 100644 --- a/src/DMAPI/tgs.dm +++ b/src/DMAPI/tgs.dm @@ -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. From a4a5b725dd21204795755e188ffcdefe8b9e6853 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Fri, 7 Apr 2023 12:11:56 -0700 Subject: [PATCH 3/3] Update Version.props dmapi version --- build/Version.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Version.props b/build/Version.props index 3602e14394..63918ebbe0 100644 --- a/build/Version.props +++ b/build/Version.props @@ -8,7 +8,7 @@ 9.9.0 10.3.0 11.3.0 - 6.3.0 + 6.3.1 5.5.0 1.2.1 1.2.1