Merge pull request #35805 from DaedalusGame/walls-dont-break-to-space-robustin-you-smoothbrain-extraordinaire

Fixes walls under doors breaking to space
This commit is contained in:
Jordan Brown
2018-02-19 16:19:41 -05:00
committed by CitadelStationBot
parent fef23bd7cc
commit 378d8b9c01
+5 -2
View File
@@ -133,9 +133,12 @@
if(1 to 9)
var/turf/here = get_turf(src)
for(var/turf/closed/T in range(2, src))
here.ChangeTurf(T.type)
return INITIALIZE_HINT_QDEL
here.PlaceOnTop(T.type)
qdel(src)
return
here.PlaceOnTop(/turf/closed/wall)
qdel(src)
return
if(9 to 11)
lights = FALSE
locked = TRUE