Fixes templates/ruins not updating area list

This commit is contained in:
AnturK
2017-04-24 10:47:45 +02:00
parent 4e416d7234
commit ff4596a6ba
3 changed files with 11 additions and 5 deletions

View File

@@ -51,7 +51,7 @@
return FALSE
smooth_zlevel(world.maxz)
SortAreas()
repopulate_sorted_areas()
//initialize things that are normally initialized after map load
initTemplateBounds(bounds)
@@ -74,6 +74,9 @@
//initialize things that are normally initialized after map load
initTemplateBounds(bounds)
if(!SSmapping.loading_ruins) //Will be done manually during mapping ss init
repopulate_sorted_areas()
log_game("[name] loaded at at [T.x],[T.y],[T.z]")
return TRUE