From 4178ba9700ffd6619f995482a369bd5133276e2e Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Thu, 28 May 2020 13:03:36 +0200 Subject: Fix production alternative duplicates Having twice the same choice wasn't supported so far. This can happen with Alexandria's bonuses (4 primary resources, or 3 secondary) associated to the yellow Market/Caravansery cards. Resolves: https://github.com/joffrey-bion/seven-wonders/issues/19 --- .../commonMain/kotlin/org/luxons/sevenwonders/model/boards/Boards.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-common-model/src/commonMain/kotlin/org') diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/boards/Boards.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/boards/Boards.kt index 68a85898..333883b6 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/boards/Boards.kt +++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/boards/Boards.kt @@ -29,7 +29,7 @@ data class Requirements( @Serializable data class Production( val fixedResources: List, - val alternativeResources: Set> + val alternativeResources: List> ) @Serializable -- cgit