Merge pull request #7003 from Citadel-Station-13/upstream-merge-38173

[MIRROR] Delay smoothing atoms that have not initialized yet
This commit is contained in:
LetterJay
2018-06-03 16:23:48 -05:00
committed by GitHub
2 changed files with 17 additions and 7 deletions

View File

@@ -57,12 +57,12 @@
if(!bounds)
return FALSE
smooth_zlevel(world.maxz)
repopulate_sorted_areas()
SSlighting.initialize_lighting_objects(block(locate(bounds[MAP_MINX], bounds[MAP_MINY], bounds[MAP_MINZ]),locate(bounds[MAP_MAXX], bounds[MAP_MAXY], bounds[MAP_MAXZ])))
//initialize things that are normally initialized after map load
initTemplateBounds(bounds)
smooth_zlevel(world.maxz)
log_game("Z-level [name] loaded at at [x],[y],[world.maxz]")
return level