oh my god i've been reading it wrong

This commit is contained in:
Putnam3145
2022-08-17 20:17:45 -07:00
parent 65806b4e9f
commit 4df8538e16
+5 -5
View File
@@ -151,18 +151,18 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
return
var/turf/open/newTurf = .
newTurf.air.copy_from(stashed_air)
update_air_ref(planetary_atmos ? 1 : 2)
newTurf.update_air_ref(planetary_atmos ? 1 : 2)
QDEL_NULL(stashed_air)
else
flags |= CHANGETURF_RECALC_ADJACENT
if(ispath(path,/turf/closed))
. = ..()
update_air_ref(-1)
var/turf/open/newTurf = .
newTurf.update_air_ref(-1)
else
qdel(src.air)
src.air = null
. = ..()
Initalize_Atmos(0)
var/turf/open/newTurf = .
newTurf.Initalize_Atmos(0)
// Take off the top layer turf and replace it with the next baseturf down
/turf/proc/ScrapeAway(amount=1, flags)