mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Fix to organ_failure event.
This commit is contained in:
@@ -13,7 +13,7 @@ datum/event/organ_failure/announce()
|
|||||||
datum/event/organ_failure/start()
|
datum/event/organ_failure/start()
|
||||||
var/list/candidates = list() //list of candidate keys
|
var/list/candidates = list() //list of candidate keys
|
||||||
for(var/mob/living/carbon/human/G in player_list)
|
for(var/mob/living/carbon/human/G in player_list)
|
||||||
if(!(G.mind && G.mind.current && G.mind.current.stat != DEAD && G.health > 70))
|
if(G.mind && G.mind.current && G.mind.current.stat != DEAD && G.health > 70)
|
||||||
candidates += G
|
candidates += G
|
||||||
if(!candidates.len) return
|
if(!candidates.len) return
|
||||||
candidates = shuffle(candidates)//Incorporating Donkie's list shuffle
|
candidates = shuffle(candidates)//Incorporating Donkie's list shuffle
|
||||||
|
|||||||
Reference in New Issue
Block a user