From 58e9b0e05a973154e356864de8d19a0137507ff0 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 15 Jun 2017 21:01:05 -0500 Subject: [PATCH] Fixes ExportService running even when not using TGS3 --- code/modules/server_tools/server_tools.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/server_tools/server_tools.dm b/code/modules/server_tools/server_tools.dm index b14ba065eb..05c36930ad 100644 --- a/code/modules/server_tools/server_tools.dm +++ b/code/modules/server_tools/server_tools.dm @@ -5,7 +5,7 @@ GLOBAL_PROTECT(reboot_mode) return params[SERVICE_WORLD_PARAM] /world/proc/ExportService(command) - return shell("python code/modules/server_tools/nudge.py \"[command]\"") == 0 + return RunningService() && shell("python code/modules/server_tools/nudge.py \"[command]\"") == 0 /world/proc/IRCBroadcast(msg) ExportService("[SERVICE_REQUEST_IRC_BROADCAST] [msg]")