From 80ed655e5ebf19401a468923ce470b009db972f0 Mon Sep 17 00:00:00 2001 From: D00Med Date: Sat, 10 Sep 2016 07:05:19 +1000 Subject: [PATCH] attempt to fix dragon attack behaviour --- dragons.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dragons.lua b/dragons.lua index 0743a74..420bde3 100644 --- a/dragons.lua +++ b/dragons.lua @@ -3,6 +3,9 @@ local step_custom = function(self, dtime) if self.driver then lib_mount.drive(self, dtime, "walk", "stand", true) + if self.state == "attack" then + self.state = nil + end return false end return true