Fixes clockwork sigil candidate runtime, cleans up some jobban checks with defines (#5304)
This commit is contained in:
committed by
Poojawa
parent
03b33075e5
commit
9e229691cc
@@ -19,7 +19,7 @@
|
||||
return MAP_ERROR
|
||||
|
||||
//selecting a candidate player
|
||||
var/list/candidates = get_candidates("devil", null, ROLE_DEVIL)
|
||||
var/list/candidates = get_candidates(ROLE_DEVIL, null, ROLE_DEVIL)
|
||||
if(!candidates.len)
|
||||
return NOT_ENOUGH_PLAYERS
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
/proc/create_devil_mind(key)
|
||||
var/datum/mind/Mind = new /datum/mind(key)
|
||||
Mind.assigned_role = "devil"
|
||||
Mind.special_role = "devil"
|
||||
Mind.assigned_role = ROLE_DEVIL
|
||||
Mind.special_role = ROLE_DEVIL
|
||||
SSticker.mode.devils |= Mind
|
||||
return Mind
|
||||
|
||||
Reference in New Issue
Block a user