Skip to content

Commit

Permalink
Ignore alert triggers on combat 0
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahJack committed Dec 22, 2023
1 parent 434862e commit 63a4a64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/AIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,8 @@ void enemyInFrontChecks(GameObject target) {
}

public void Alert(UseData ud) {
if (Const.a.difficultyCombat == 0) return;

enemy = Const.a.player1Capsule;
if (enemy != null) enemyHM = Utils.GetMainHealthManager(enemy);
}
Expand Down

0 comments on commit 63a4a64

Please sign in to comment.