mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
update to new poll candidates system
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user