Battle Crash


############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_battlecontroller:

Variable obj_battlecontroller.wait(100146, -2147483648) not set before reading it.
at gml_Script_bc_OnAttack
############################################################################################

stack frame is
gml_Script_bc_OnAttack (line 0)
gml_Script_bc_CreatureAttack
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0

windows 7 version 0.1.1 when trepidation wight (whose ability is still broken) attacked

edit: looks like it only crashes when the wight attacks a creature affected with burn

edit2: it appears to be a issue with the smolder trait on the artifact