summaryrefslogtreecommitdiff
path: root/src/main/java/org/luxons/sevenwonders
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/luxons/sevenwonders')
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java b/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java
index 02f80714..5de87784 100644
--- a/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java
+++ b/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java
@@ -32,7 +32,7 @@ public enum SpecialAbility {
if (copiedGuild == null) {
throw new IllegalStateException("The copied Guild has not been chosen, cannot compute points");
}
- return copiedGuild.getEffects().stream().mapToInt(e -> computePoints(table, playerIndex)).sum();
+ return copiedGuild.getEffects().stream().mapToInt(e -> e.computePoints(table, playerIndex)).sum();
}
};
bgstack15