diff --git a/code/game/objects/structures/plasticflaps.dm b/code/game/objects/structures/plasticflaps.dm index 125666ae25c..12fba0267cf 100644 --- a/code/game/objects/structures/plasticflaps.dm +++ b/code/game/objects/structures/plasticflaps.dm @@ -65,7 +65,7 @@ return FALSE /obj/structure/plasticflaps/mining/Destroy() - var/oldloc = loc + var/atom/oldloc = loc . = ..() if (oldloc) oldloc.air_update_turf(1)