Skip to content

Commit

Permalink
Summon Guns/Magic can no longer tries to select people who are antag …
Browse files Browse the repository at this point in the history
…banned. (ParadiseSS13#19107)

* rightandwrong no longer selects antag banned

* Most recent commit IDIOT

Co-authored-by: [email protected] <[email protected]>
  • Loading branch information
Adrer and [email protected] authored Sep 20, 2022
1 parent d677e31 commit 5ad2291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/gamemodes/wizard/rightandwrong.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ GLOBAL_VAR_INIT(summon_magic_triggered, FALSE)
if(iswizard(H))
return

if(prob(GLOB.summon_magic_triggered) && !(H.mind in SSticker.mode.traitors))
if(prob(GLOB.summon_magic_triggered) && !(H.mind in SSticker.mode.traitors) && !jobban_isbanned(H, ROLE_SYNDICATE))
SSticker.mode.traitors += H.mind

H.mind.add_antag_datum(/datum/antagonist/survivalist/magic)
Expand Down

0 comments on commit 5ad2291

Please sign in to comment.