fighting game sample fix

This commit is contained in:
Turanszki Janos
2019-04-28 23:55:14 +01:00
parent 479c3ac79a
commit 2dc90a64b1
+1 -1
View File
@@ -123,7 +123,7 @@ local function Character(face, shirt_color)
return self.hitconfirm
end,
require_hitconfirm_guard = function(self) -- true if this player hit the opponent but the opponent guarded it
return self.hitconfirm
return self.hitconfirm and self.hit_guard
end,
require_hurt = function(self) -- true if this player was hit by the other
return self.hurt