summaryrefslogtreecommitdiffhomepage
path: root/not/Hero.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-07 05:25:01 +0200
committerAki <nthirtyone@gmail.com>2017-09-07 05:25:01 +0200
commitb4254d4281cae95d72c5c8ae12119494d97f1802 (patch)
treef362a789b0cf7d39f6a23e54c7c0515640aea45e /not/Hero.lua
parent58e6962593cadd4cfc1dd4028ce3b272814fe3f3 (diff)
downloadroflnauts-b4254d4281cae95d72c5c8ae12119494d97f1802.zip
roflnauts-b4254d4281cae95d72c5c8ae12119494d97f1802.tar.gz
roflnauts-b4254d4281cae95d72c5c8ae12119494d97f1802.tar.bz2
Removed tables for specific objects and replaced references with proper method calls
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()