From 977d4bac1652860c754a4ff7ff6ffeaf6637d014 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 19 Jul 2020 16:06:35 +0200 Subject: [PATCH] fix(game/abstractmobs): use right var for pp --- sonic-radiance.love/game/abstractmobs/parent.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/game/abstractmobs/parent.lua b/sonic-radiance.love/game/abstractmobs/parent.lua index b3ee25e..4d64fa1 100644 --- a/sonic-radiance.love/game/abstractmobs/parent.lua +++ b/sonic-radiance.love/game/abstractmobs/parent.lua @@ -34,7 +34,7 @@ end function AbstractMobParent:initLife() self.hp = self.stats.hpmax - self.mp = self.stats.mpmax + self.pp = self.stats.ppmax self.status = 0 end