summaryrefslogtreecommitdiffhomepage
path: root/player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player.lua')
-rw-r--r--player.lua3
1 files changed, 2 insertions, 1 deletions
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