Hole and Hole-Adjacent Changes (#15345)

This commit is contained in:
Geeves
2022-12-20 17:05:43 +01:00
committed by GitHub
parent 6719b17b3b
commit b4c4cf69ec
14 changed files with 127 additions and 99 deletions
+9
View File
@@ -31,6 +31,15 @@
for(var/obj/structure/lattice/LAT in loc)
if(LAT != src)
qdel(LAT)
if(isturf(loc))
var/turf/turf = loc
turf.is_hole = FALSE
/obj/structure/lattice/Destroy()
if(isturf(loc))
var/turf/turf = loc
turf.is_hole = initial(turf.is_hole)
return ..()
/obj/structure/lattice/ex_act(severity)
switch(severity)