From 5c35760f70efb588664e5e87d014b9f2913ceb61 Mon Sep 17 00:00:00 2001 From: Nicola Sovic Date: Sun, 13 Mar 2022 14:30:02 +0100 Subject: [PATCH] Small bugfix (int displayed as strength) --- Assets/Scripts/UIHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/UIHandler.cs b/Assets/Scripts/UIHandler.cs index c419c8f..a527e37 100644 --- a/Assets/Scripts/UIHandler.cs +++ b/Assets/Scripts/UIHandler.cs @@ -587,7 +587,7 @@ namespace Assets.Scripts GameObject.Find("txtStrength_Creation").GetComponent().text = "Strength: " + playerstats[4]; GameObject.Find("txtDexterity_Creation").GetComponent().text = "Dexterity: " + playerstats[5]; - GameObject.Find("txtIntelligence_Creation").GetComponent().text = "Intelligence: " + playerstats[4]; + GameObject.Find("txtIntelligence_Creation").GetComponent().text = "Intelligence: " + playerstats[6]; GameObject.Find("txtHealth_Creation").GetComponent().text = "Health: " + playerstats[1]; GameObject.Find("txtSecondary_Creation").GetComponent().text = "Mana: " + playerstats[3];