Guillotine no longer nullspaces people upon being destroyed. (#26337)

* Nullspace fix

* Update code/game/objects/structures/guillotine.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <yumyumkillkill@gmail.com>

* Update code/game/objects/structures/guillotine.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <yumyumkillkill@gmail.com>

---------

Signed-off-by: Spaghetti-bit <yumyumkillkill@gmail.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Spaghetti-bit
2024-07-30 05:32:48 -07:00
committed by GitHub
parent 872424a306
commit dfd18108e8
@@ -32,6 +32,11 @@
LAZYINITLIST(buckled_mobs)
return ..()
/obj/structure/guillotine/Destroy()
if(has_buckled_mobs())
unbuckle_all_mobs()
return ..()
/obj/structure/guillotine/examine(mob/user)
. = ..()