From 429c0a2491bd554ff6bf67d9ea93be6669ef1947 Mon Sep 17 00:00:00 2001 From: ghostsheet Date: Thu, 20 Jul 2023 17:17:44 +1000 Subject: [PATCH] tent bugfix --- code/modules/tents/deployed_tents.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/tents/deployed_tents.dm b/code/modules/tents/deployed_tents.dm index 040a45f1c634..295f2fbb1fbb 100644 --- a/code/modules/tents/deployed_tents.dm +++ b/code/modules/tents/deployed_tents.dm @@ -110,6 +110,12 @@ . = ..() return FALSE // Always fly through the tent +/obj/structure/tent/Destroy() + for(var/turf/turf in locs) + for(var/mob/mobs in turf) + mob_exited_tent(mobs) + . = ..() + /// Command tent, providing basics for field command: a phone, and an overwatch console /obj/structure/tent/cmd icon_state = "cmd_interior"