Skip to content

Commit 22c0f07

Browse files
Update TGS DMAPI
1 parent 8b62425 commit 22c0f07

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

code/modules/tgs/core/datum.dm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ TGS_DEFINE_AND_SET_GLOBAL(tgs, null)
1111
src.event_handler = event_handler
1212
src.version = version
1313

14-
// chumbis
15-
1614
/datum/tgs_api/proc/TerminateWorld()
1715
while(TRUE)
1816
TGS_DEBUG_LOG("About to terminate world. Tick: [world.time], sleep_offline: [world.sleep_offline]")

code/modules/tgs/v3210/api.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
if(SERVICE_CMD_LIST_CUSTOM)
144144
return json_encode(ListServiceCustomCommands(FALSE))
145145
else
146-
var/custom_command_result = HandleServiceCustomCommand(LOWER_TEXT(command), params[SERVICE_CMD_PARAM_SENDER], params[SERVICE_CMD_PARAM_CUSTOM])
146+
var/custom_command_result = HandleServiceCustomCommand(lowertext(command), params[SERVICE_CMD_PARAM_SENDER], params[SERVICE_CMD_PARAM_CUSTOM])
147147
if(custom_command_result)
148148
return istext(custom_command_result) ? custom_command_result : SERVICE_RETURN_SUCCESS
149149
return "Unknown command: [command]"

code/modules/tgs/v3210/commands.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
cached_custom_tgs_chat_commands = list()
3838
for(var/I in typesof(/datum/tgs_chat_command) - /datum/tgs_chat_command)
3939
var/datum/tgs_chat_command/stc = I
40-
cached_custom_tgs_chat_commands[LOWER_TEXT(initial(stc.name))] = stc
40+
cached_custom_tgs_chat_commands[lowertext(initial(stc.name))] = stc
4141

4242
var/command_type = cached_custom_tgs_chat_commands[command]
4343
if(!command_type)

0 commit comments

Comments
 (0)