scenes/level: use the new save system

This commit is contained in:
Kazhnuz 2019-02-28 22:10:33 +01:00
parent c59f243dd1
commit 96df0382ad
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,6 @@ end
function Player:getStats(playerID)
self.pigID = self.level.players[playerID].pigID
self.stats = save:getPig(1)
self.stats = game.pigmanager:getPig(1)
self.playerID = playerID
end