fix: better use of the super variable

This commit is contained in:
Kazhnuz 2021-07-03 10:09:01 +02:00
parent 72a0b77212
commit de0a1a886a

View file

@ -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()