summaryrefslogtreecommitdiffhomepage
path: root/not/Hero.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Hero.lua')
-rw-r--r--not/Hero.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 93f1614..15cc667 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -27,7 +27,7 @@ function Hero:new (name, x, y, world)
Hero.load()
Hero.__super.new(self, x, y, world, imagePath)
-- Physics
- self.group = -1-#world.Nauts
+ self.group = -1-#world:getNautsAll()
self:setBodyType("dynamic")
self:setBodyFixedRotation(true)
self:newFixture()