File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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] " )
Original file line number Diff line number Diff line change 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] "
Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments