diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 12:04:27 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 12:04:27 +0200 |
commit | 8ffb559647b1880789b6987a1d235c412de9da18 (patch) | |
tree | 01be962792d5372babcb002d185e2951090da933 /sw-engine/src/main/kotlin | |
parent | Cleanup wonder card style (diff) | |
download | seven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.tar.gz seven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.tar.bz2 seven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.zip |
Fix military points bug
Diffstat (limited to 'sw-engine/src/main/kotlin')
-rw-r--r-- | sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt index 0b81f29d..ea008e4c 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt @@ -10,7 +10,7 @@ internal class Military( private set val totalPoints - get() = victoryPoints + lostPointsPerDefeat * nbDefeatTokens + get() = victoryPoints - lostPointsPerDefeat * nbDefeatTokens var victoryPoints = 0 private set |