update to new poll candidates system

This commit is contained in:
SteelSlayer
2020-08-18 11:10:12 -05:00
parent 1b2391a69f
commit c5de5e6796
+1 -1
View File
@@ -106,7 +106,7 @@
var/mob/living/silicon/robot/R = H.Robotize(robot_cell_type, FALSE, masterAI)
if(R.mind && !R.client && !R.grab_ghost()) // Make sure this is an actual player first and not just a humanized monkey or something.
message_admins("[key_name_admin(R)] was just transformed by a borg factory, but they were SSD. Polling ghosts for a replacement.")
var/list/candidates = pollCandidates("Do you want to play as a malfunctioning cyborg?", ROLE_TRAITOR, poll_time = 15 SECONDS)
var/list/candidates = SSghost_spawns.poll_candidates("Do you want to play as a malfunctioning cyborg?", ROLE_TRAITOR, poll_time = 15 SECONDS)
if(!length(candidates))
return
var/mob/dead/observer/O = pick(candidates)