From 31b4fc9082de6e2aeb741530a8ebb08e5a614876 Mon Sep 17 00:00:00 2001 From: Krausus Date: Wed, 10 Jun 2015 10:17:08 -0400 Subject: [PATCH] Fixes wizard end-round spell listing Wizard spells are now stored in their mind, not in their mob --- code/game/gamemodes/wizard/wizard.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/gamemodes/wizard/wizard.dm b/code/game/gamemodes/wizard/wizard.dm index ea68cec863d..a94177cee68 100644 --- a/code/game/gamemodes/wizard/wizard.dm +++ b/code/game/gamemodes/wizard/wizard.dm @@ -257,12 +257,12 @@ else text += "
The wizard has failed!" feedback_add_details("wizard_success","FAIL") - if(wizard.current && wizard.current.spell_list) + if(wizard.spell_list) text += "
[wizard.name] used the following spells: " var/i = 1 - for(var/obj/effect/proc_holder/spell/wizard/S in wizard.current.spell_list) + for(var/obj/effect/proc_holder/spell/wizard/S in wizard.spell_list) text += "[S.name]" - if(wizard.current.spell_list.len > i) + if(wizard.spell_list.len > i) text += ", " i++ text += "
"