Starlight/shuttle lighting fix

This commit is contained in:
Mark van Alphen
2019-05-04 04:30:13 +02:00
parent e9a9326db0
commit b5c322e00a
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -382,9 +382,8 @@
var/list/L0 = return_ordered_turfs(x, y, z, dir, areaInstance)
//remove area surrounding docking port
var/area/A0
if(areaInstance.contents.len)
A0 = locate("[area_type]")
var/area/A0 = locate("[area_type]")
if(!A0)
A0 = new area_type(null)
for(var/turf/T0 in L0)
@@ -394,8 +393,6 @@
var/turf/T0 = i
if(!T0)
continue
if(A0)
T0.change_area(T0.loc, A0)
T0.empty(turf_type)
qdel(src, force=TRUE)