From 30299847f83049ed277b2434d0bdd734e708cbff Mon Sep 17 00:00:00 2001 From: Ny Bruker <robinhs@stud.ntnu.no> Date: Tue, 4 Oct 2022 15:51:17 +0200 Subject: [PATCH] Fixed bug. --- MrBigsock/Assets/Code/PlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MrBigsock/Assets/Code/PlayerController.cs b/MrBigsock/Assets/Code/PlayerController.cs index f96d1f77..0060c72d 100644 --- a/MrBigsock/Assets/Code/PlayerController.cs +++ b/MrBigsock/Assets/Code/PlayerController.cs @@ -138,7 +138,7 @@ namespace BigSock { Updates the modifiers to the character's stats. */ public override void UpdateModifiers(ICharacterStats modifiers = null) { - super.UpdateModifiers(modifiers); + base.UpdateModifiers(modifiers); manaBar?.SetMaxXp(Stats.MaxMana); staminaBar?.SetMaxXp(Stats.MaxStamina); } -- GitLab