Update server tools API to 3.1.0.2 (#31451)

This commit is contained in:
Jordan Brown
2017-10-09 20:02:08 -04:00
committed by CitadelStationBot
parent 6f2b89ae88
commit 4b2d7b702a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// /tg/station 13 server tools API v3.1.0.1
// /tg/station 13 server tools API v3.1.0.2
//CONFIGURATION
//use this define if you want to do configuration outside of this file
@@ -64,7 +64,7 @@
//IMPLEMENTATION
#define SERVICE_API_VERSION_STRING "3.1.0.1"
#define SERVICE_API_VERSION_STRING "3.1.0.2"
#define REBOOT_MODE_NORMAL 0
#define REBOOT_MODE_HARD 1
+1 -1
View File
@@ -2,7 +2,7 @@ SERVER_TOOLS_DEFINE_AND_SET_GLOBAL(reboot_mode, REBOOT_MODE_NORMAL)
SERVER_TOOLS_DEFINE_AND_SET_GLOBAL(server_tools_api_compatible, FALSE)
/proc/GetTestMerges()
if(RunningService() && fexists(SERVICE_PR_TEST_JSON))
if(RunningService(TRUE) && fexists(SERVICE_PR_TEST_JSON))
. = json_decode(file2text(SERVICE_PR_TEST_JSON))
if(.)
return