mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
prevents people with offstation role from becoming a survivalist (#22805)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user