Ports "Fixes ChangeTurf CHANGETURF_INHERIT_AIR flag and add it to all calls."

This commit is contained in:
Ghommie
2019-12-17 01:57:56 +01:00
parent 5f59d7a9c5
commit 5bf252a58c
32 changed files with 91 additions and 141 deletions
@@ -123,7 +123,7 @@
if(metal)
var/turf/T = get_turf(src)
if(isspaceturf(T)) //Block up any exposed space
T.PlaceOnTop(/turf/open/floor/plating/foam)
T.PlaceOnTop(/turf/open/floor/plating/foam, flags = CHANGETURF_INHERIT_AIR)
for(var/direction in GLOB.cardinals)
var/turf/cardinal_turf = get_step(T, direction)
if(get_area(cardinal_turf) != get_area(T)) //We're at an area boundary, so let's block off this turf!