fixes various net and stasis cage bugs (#19653)

This commit is contained in:
Will
2026-08-09 03:25:20 -04:00
committed by GitHub
parent 169fcf40cf
commit 1d232bf567
2 changed files with 31 additions and 8 deletions
+2 -1
View File
@@ -149,7 +149,8 @@
M.can_pull_size = 0
else //Just unbuckled someone
M.can_pull_size = initial(M.can_pull_size)
qdel(src)
if(!QDELETED(src)) // Prevent a Qdel loop in situations where the net is deleted by ex_act or other means, and the mob unbuckles itself, only to call post_buckle_mob and try to delete it again.
qdel(src)
/obj/item/energy_net/shrink
name = "compactor energy net"