Crown Placement and Start of Game

Lisez pas mes commits svp T_T
This commit is contained in:
Kirabsol 2025-01-28 12:01:04 +01:00
parent c2af70eeb4
commit e805b7eb9c
13 changed files with 4399 additions and 3688 deletions

View file

@ -54,13 +54,13 @@ public class HealthHandler : MonoBehaviour
GlobalsVariable.AliveUnitsTeamB = new List<AbstractUnit>();
GlobalsVariable.AliveUnitsTeamA = new List<AbstractUnit>();
if (deathState == DeathSate.QueenADead)
if (deathState == DeathSate.QueenBDead)
{
print("get good, reload current scene");
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
}
if (deathState == DeathSate.QueenBDead)
if (deathState == DeathSate.QueenADead)
{
print("GG going to next scene");
GameManager.Instance.GoNextLevel();