Queue starlight, optimize exoplanet gen, fix ruin generation (#14524)

This commit is contained in:
Wildkins
2022-07-31 08:17:53 -04:00
committed by GitHub
parent 0b9dba3876
commit 273502000e
8 changed files with 26 additions and 18 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ var/global/list/map_count = list()
if(tlx) limit_x = tlx
if(tly) limit_y = tly
if(used_area)
if(!use_area && used_area)
if(ispath(used_area))
use_area = new(used_area)
else
@@ -186,7 +186,7 @@ var/global/list/map_count = list()
if(!T || (target_turf_type && !istype(T,target_turf_type)))
return 0
var/newpath = get_appropriate_path(map[tmp_cell])
if(newpath)
if(newpath && !istype(T, newpath))
T.ChangeTurf(newpath)
if(spawn_roof)
T.spawn_roof()