summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-14 15:53:34 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-14 15:53:34 +0100
commit67aa752c4433c7172cb7ac86728c455d986678bf (patch)
tree2a1fcb0054e9904686478b1d3718038763e1067d /api.lua
parent37a6399ffb6e766ae15aae366614ad0e9f1727c7 (diff)
fixed punch animation
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index 41c7f61..101ffbc 100644
--- a/api.lua
+++ b/api.lua
@@ -1586,9 +1586,9 @@ local do_states = function(self, dtime)
if self.double_melee_attack
and math.random(1, 2) == 1 then
- set_animation(self, "punch")
- else
set_animation(self, "punch2")
+ else
+ set_animation(self, "punch")
end
local p2 = p