Skip to content

Commit

Permalink
add note about funding
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Jamrozik committed Jun 23, 2024
1 parent 7f4e3c3 commit c7d3c6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game-lib/State/GameState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void ToJsonFile(File file)
// This condition is here to protect against infinite loops.
|| Timeline.CurrentTurn > MaxTurnLimit;

// kja game should not be lost if funding is less than zero. Funding should never be less than zero.
public bool IsGameLost => Assets.Money < 0
|| Assets.Funding < 0
|| Assets.Support <= 0;
Expand Down

0 comments on commit c7d3c6f

Please sign in to comment.