From 3d688291884082f099b6eb63aba0e48437fd0d2d Mon Sep 17 00:00:00 2001 From: VerySoft Date: Wed, 28 Dec 2022 19:27:37 -0500 Subject: [PATCH] ONE MORE AAAAAAAAA --- code/game/objects/structures/ghost_pods/event_vr.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/structures/ghost_pods/event_vr.dm b/code/game/objects/structures/ghost_pods/event_vr.dm index ec84ab9a85b..1bcf5dd147a 100644 --- a/code/game/objects/structures/ghost_pods/event_vr.dm +++ b/code/game/objects/structures/ghost_pods/event_vr.dm @@ -70,6 +70,10 @@ if(choice) finalized = tgui_alert(M, "Are you sure you want to play as [choice]?","Confirmation",list("No","Yes")) + if(!choice) //If somehow we ended up here and we don't have a choice, let's just reset things! + reset_ghostpod() + return + var/mobtype = possible_mobs[choice] var/mob/living/simple_mob/newPred = new mobtype(get_turf(src)) qdel(newPred.ai_holder)