mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fixes Obsession rolling while Be Antag is set to no. (#2754)
## About The Pull Request Fixes #2258, where people can roll Obsessed despite having Be Antagonist set to no. thx odairuu ## Why It's Good For The Game Less need for ahelps (yippee!) ## Proof Of Testing Compiled and worked on a private server. ## Changelog fix: fixes obsession rolling when be antag is set to no
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
/datum/round_event/obsessed/start()
|
||||
for(var/mob/living/carbon/human/H in shuffle(GLOB.player_list))
|
||||
if(!H.client || !(ROLE_OBSESSED in H.client.prefs.be_special))
|
||||
if(!H.client || !(ROLE_OBSESSED in H.client.prefs.be_special) || !H.client.prefs?.read_preference(/datum/preference/toggle/be_antag))
|
||||
continue
|
||||
if(H.stat == DEAD)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user