Crash at the end/start of a creatures turn


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

trying to index a variable which is not an array
at gml_Script_bc_CreatureCast
############################################################################################

stack frame is
gml_Script_bc_CreatureCast (line 0)
gml_Script_bc_ArtificialIntelligence
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0

Screen just went white and the code error message above showed up, no creature was currently doing anything, it was in the passage from one creatures turn to another afaik.

Note: This was prior to the latest update, got one that started up right after the crash, in case it has been adressed.