Commit b8887a5f authored by gstuitje's avatar gstuitje
Browse files

Fixed exclamation marks not showing on characters correctly upon level up.

parent d38798a4
......@@ -54,12 +54,13 @@ public class CharacterInteractions : MonoBehaviour {
}
private IEnumerator checkLevelUp() {
yield return new WaitForSeconds(0.1f);
if (characterScript.getName() != "Ahava"){
yield return new WaitForSeconds(0.1f);
LevelUpImage.gameObject.SetActive(GameManager.hasLeveledUp(characterScript.getName()));
/*if (characterScript.getName() != "Ahava"){
LevelUpImage.gameObject.SetActive(false);
} else {
LevelUpImage.gameObject.SetActive(GameManager.hasLeveledUp(characterScript.getName()));
}
}*/
StopCoroutine(checkLevelUp());
}
......
......@@ -5,7 +5,7 @@ using UnityEngine;
public class GameManager : MonoBehaviour {
public static float AhavaLevel;
public static float SilasLevel = 1f;
public static float SilasLevel = 1.8f;
public static float SimonLevel = 1f;
public static float JohnLevel = 1f;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment