From 8a51c55cfd5c22ff035f320c9128d6ec49009bf2 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 15 May 2016 22:13:13 +0200 Subject: ZU WARUDO! --- player.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player.lua') diff --git a/player.lua b/player.lua index 099001f..c40f4fe 100644 --- a/player.lua +++ b/player.lua @@ -224,7 +224,8 @@ function Player:hit (horizontal, vertical) self:changeAnimation("attack") self.body:applyLinearImpulse(10*self.facing, 0) end - for k,n in pairs(Nauts) do + -- w.Nauts [!] temporary + for k,n in pairs(w.Nauts) do if n ~= self then local didHit = false if n.fixture:testPoint(self.body:getX()+12*horizontal,self.body:getY()-2) then -- cgit v1.1