From de0a1a886a1fb39e0f1672677d9d4ca1ba72c405 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 3 Jul 2021 10:09:01 +0200 Subject: [PATCH] fix: better use of the super variable --- sonic-radiance.love/game/abstractmobs/character/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/game/abstractmobs/character/init.lua b/sonic-radiance.love/game/abstractmobs/character/init.lua index 468a3ee..75e6e48 100644 --- a/sonic-radiance.love/game/abstractmobs/character/init.lua +++ b/sonic-radiance.love/game/abstractmobs/character/init.lua @@ -12,7 +12,7 @@ AbstractCharacter:implement(CharacterEquip) function AbstractCharacter:new(name) self.simplename = name - self.super.new(self, {"simplename", "level", "exp", "exp_next", "hp", "pp", "statuts", "equip"}) + AbstractCharacter.super.new(self, {"simplename", "level", "exp", "exp_next", "hp", "pp", "statuts", "equip"}) end function AbstractCharacter:initBasicElements()