Merge pull request #4561 from Citadel-Station-13/upstream-merge-33853
[MIRROR] If the world is launched with the "no-init" param. Master.Initialize isn't called
This commit is contained in:
@@ -37,6 +37,9 @@ GLOBAL_PROTECT(security_mode)
|
||||
if(fexists(RESTART_COUNTER_PATH))
|
||||
GLOB.restart_counter = text2num(trim(file2text(RESTART_COUNTER_PATH)))
|
||||
fdel(RESTART_COUNTER_PATH)
|
||||
|
||||
if("no-init" in params)
|
||||
return
|
||||
|
||||
Master.Initialize(10, FALSE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user