From b4254d4281cae95d72c5c8ae12119494d97f1802 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 7 Sep 2017 05:25:01 +0200 Subject: Removed tables for specific objects and replaced references with proper method calls --- not/Hero.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not/Hero.lua') 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() -- cgit v1.1