fix: remove forgotten unused function
This commit is contained in:
parent
01b450fef7
commit
91dda9fa87
2 changed files with 1 additions and 6 deletions
|
@ -68,7 +68,7 @@ function AbstractCharacter:createSkills()
|
|||
end
|
||||
|
||||
function AbstractCharacter:finishDeserialization()
|
||||
self:createStats()
|
||||
|
||||
end
|
||||
|
||||
return AbstractCharacter
|
||||
|
|
|
@ -57,10 +57,6 @@ function CharacterManager:levelUp(name)
|
|||
self.list[name]:levelUp()
|
||||
end
|
||||
|
||||
function CharacterManager:recalculateStats(name)
|
||||
self.list[name]:createStats()
|
||||
end
|
||||
|
||||
function CharacterManager:heal(name)
|
||||
self.list[name]:heal()
|
||||
end
|
||||
|
@ -82,7 +78,6 @@ function CharacterManager:setData(data)
|
|||
local data = data
|
||||
self.team = data.team
|
||||
for name, charData in pairs(data.list) do
|
||||
print(self.list[name])
|
||||
self.list[name]:setData(charData)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue