Server tools versioning and fix to displayed testmerges (#30252)

* Server tools versioning and fix to displayed testmerges

* Fixes
This commit is contained in:
Jordan Brown
2017-08-30 10:15:12 +12:00
committed by oranges
parent 82f2c385f9
commit cf178de1b6
3 changed files with 15 additions and 3 deletions
@@ -4,6 +4,10 @@ GLOBAL_PROTECT(reboot_mode)
/world/proc/RunningService()
return params[SERVICE_WORLD_PARAM]
/proc/ServiceVersion()
if(world.RunningService())
return world.params[SERVICE_VERSION_PARAM]
/world/proc/ExportService(command)
return RunningService() && shell("python code/modules/server_tools/nudge.py \"[command]\"") == 0