Open ThePython10110 opened 6 months ago
I spawned a few dragons, then got this error: draconis/api/behaviors.lua:200: attempt to perform arithmetic on field 'turn_rate' (a nil value) After looking through the code a bit, it seems like the ice dragon is just missing the turn_rate field.
draconis/api/behaviors.lua:200: attempt to perform arithmetic on field 'turn_rate' (a nil value)
turn_rate
Same as #33 Fixed by #37 Just replace all "self.turn_rate" with "self.turn_rate or 6"
I spawned a few dragons, then got this error:
draconis/api/behaviors.lua:200: attempt to perform arithmetic on field 'turn_rate' (a nil value)
After looking through the code a bit, it seems like the ice dragon is just missing theturn_rate
field.