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 3037837..2b5c529 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -49,7 +49,7 @@ function Hero:new (config, x, y, world)
self.punchCooldown = 0
-- TODO: Pass loaded portrait from menu to Hero.
self.portrait = love.graphics.newImage(config.portrait)
- self:setAnimationsList(require("config.animations.hero"))
+ self:setAnimations(require("config.animations.hero"))
-- Post-creation
self:createEffect("respawn")
end