mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes wizard academy spawner. (#27066)
This commit is contained in:
@@ -64,10 +64,11 @@
|
|||||||
next_check = world.time + cooldown
|
next_check = world.time + cooldown
|
||||||
|
|
||||||
/obj/structure/academy_wizard_spawner/proc/give_control()
|
/obj/structure/academy_wizard_spawner/proc/give_control()
|
||||||
|
set waitfor = FALSE
|
||||||
|
|
||||||
if(!current_wizard)
|
if(!current_wizard)
|
||||||
return
|
return
|
||||||
spawn(0)
|
var/list/mob/dead/observer/candidates = pollCandidatesForMob("Do you want to play as Wizard Academy Defender?", "wizard", null, be_special_flag = ROLE_WIZARD, M = current_wizard)
|
||||||
var/list/mob/dead/observer/candidates = pollCandidatesForMob("Do you want to play as Wizard Academy Defender?", "wizard", null, ROLE_WIZARD, current_wizard)
|
|
||||||
var/mob/dead/observer/chosen = null
|
var/mob/dead/observer/chosen = null
|
||||||
|
|
||||||
if(candidates.len)
|
if(candidates.len)
|
||||||
|
|||||||
Reference in New Issue
Block a user