summaryrefslogtreecommitdiff
path: root/sw-engine
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-08-12 12:04:27 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-08-12 12:04:27 +0200
commit8ffb559647b1880789b6987a1d235c412de9da18 (patch)
tree01be962792d5372babcb002d185e2951090da933 /sw-engine
parentCleanup wonder card style (diff)
downloadseven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.tar.gz
seven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.tar.bz2
seven-wonders-8ffb559647b1880789b6987a1d235c412de9da18.zip
Fix military points bug
Diffstat (limited to 'sw-engine')
-rw-r--r--sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt2
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
bgstack15