fix: better use of the super variable
This commit is contained in:
parent
72a0b77212
commit
de0a1a886a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue