Skip to content

Commit

Permalink
feat: add all values check in start
Browse files Browse the repository at this point in the history
  • Loading branch information
Tboefijn committed Jun 23, 2024
1 parent ad76c90 commit 0e1efb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aplib.net-demo/Assets/Scripts/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ private void Start()

TotalItemCount = AmmoItemAmount + HealthItemAmount + RageItemAmount;
TotalEnemyCount = RangedEnemyAmount + MeleeEnemyAmount;

CheckAllValuesToBeValid();
}

/// <summary>
Expand Down

0 comments on commit 0e1efb2

Please sign in to comment.