From cf87929bec87409f5c33ec3e9f96ebd6f8c7db12 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Sat, 14 Oct 2023 13:44:28 -0500 Subject: [PATCH] prevents people with offstation role from becoming a survivalist (#22805) --- code/game/gamemodes/wizard/rightandwrong.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/wizard/rightandwrong.dm b/code/game/gamemodes/wizard/rightandwrong.dm index f4317e9e9ee..bb4bedd9015 100644 --- a/code/game/gamemodes/wizard/rightandwrong.dm +++ b/code/game/gamemodes/wizard/rightandwrong.dm @@ -98,7 +98,7 @@ GLOBAL_VAR_INIT(summon_magic_triggered, FALSE) if(H.stat == DEAD || !(H.client)) return if(H.mind) - if(iswizard(H)) + if(iswizard(H) || H.mind.offstation_role) return if(prob(GLOB.summon_guns_triggered) && !(H.mind in SSticker.mode.traitors)) @@ -120,7 +120,7 @@ GLOBAL_VAR_INIT(summon_magic_triggered, FALSE) if(H.stat == DEAD || !(H.client)) return if(H.mind) - if(iswizard(H)) + if(iswizard(H) || H.mind.offstation_role) return if(prob(GLOB.summon_magic_triggered) && !(H.mind in SSticker.mode.traitors) && !jobban_isbanned(H, ROLE_SYNDICATE))