From 8ffb559647b1880789b6987a1d235c412de9da18 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 12 Aug 2020 12:04:27 +0200 Subject: Fix military points bug --- .../src/main/kotlin/org/luxons/sevenwonders/engine/boards/Military.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-engine/src') 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 -- cgit