Merge pull request #3258 from Citadel-Station-13/upstream-merge-31451

[MIRROR] Update server tools API to 3.1.0.2
This commit is contained in:
LetterJay
2017-10-10 01:05:35 -04:00
committed by GitHub
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