Remove mobs/idlenpcpool Initializers, make mob/client expansion happen when maxz is incremented (#34987)

* work

* Seems to worky

* one more place where maxz is touched
This commit is contained in:
vuonojenmustaturska
2018-01-27 23:16:20 +01:00
committed by AnturK
parent 8c9767311e
commit 355c21acb1
5 changed files with 23 additions and 11 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ GLOBAL_DATUM_INIT(_preloader, /dmm_suite/preloader, new)
if(cropMap)
continue
else
world.maxz = zcrd //create a new z_level if needed
while (zcrd > world.maxz) //create a new z_level if needed
world.incrementMaxZ()
if(!no_changeturf)
WARNING("Z-level expansion occurred without no_changeturf set, this may cause problems when /turf/AfterChange is called")