Skip to content

Commit

Permalink
Update TGS DMAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
novasector-ci[bot] committed Oct 27, 2024
1 parent 51b7ad7 commit ef4af21
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions code/modules/tgs/core/datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ TGS_DEFINE_AND_SET_GLOBAL(tgs, null)
src.event_handler = event_handler
src.version = version

// chumbis

/datum/tgs_api/proc/TerminateWorld()
while(TRUE)
TGS_DEBUG_LOG("About to terminate world. Tick: [world.time], sleep_offline: [world.sleep_offline]")
Expand Down
2 changes: 1 addition & 1 deletion code/modules/tgs/v3210/api.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
if(SERVICE_CMD_LIST_CUSTOM)
return json_encode(ListServiceCustomCommands(FALSE))
else
var/custom_command_result = HandleServiceCustomCommand(LOWER_TEXT(command), params[SERVICE_CMD_PARAM_SENDER], params[SERVICE_CMD_PARAM_CUSTOM])
var/custom_command_result = HandleServiceCustomCommand(lowertext(command), params[SERVICE_CMD_PARAM_SENDER], params[SERVICE_CMD_PARAM_CUSTOM])
if(custom_command_result)
return istext(custom_command_result) ? custom_command_result : SERVICE_RETURN_SUCCESS
return "Unknown command: [command]"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/tgs/v3210/commands.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
cached_custom_tgs_chat_commands = list()
for(var/I in typesof(/datum/tgs_chat_command) - /datum/tgs_chat_command)
var/datum/tgs_chat_command/stc = I
cached_custom_tgs_chat_commands[LOWER_TEXT(initial(stc.name))] = stc
cached_custom_tgs_chat_commands[lowertext(initial(stc.name))] = stc

var/command_type = cached_custom_tgs_chat_commands[command]
if(!command_type)
Expand Down

0 comments on commit ef4af21

Please sign in to comment.