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 fc5d840..a97a2b1 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -32,8 +32,8 @@ function Hero:new (config, x, y, world)
self:setBodyFixedRotation(true)
self:newFixture()
-- General
+ self.config = config
self.world = world
- self.name = config.name
self.angle = 0
self.facing = 1
-- Status