summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt
index da0f390f..2dd481ca 100644
--- a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt
+++ b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt
@@ -90,7 +90,7 @@ data class ApiCountedResource(
)
internal fun Resources.toCountedResourcesList(): List<ApiCountedResource> =
- quantities.map { (type, count) -> ApiCountedResource(count, type)}.sortedBy { it.type }
+ quantities.map { (type, count) -> ApiCountedResource(count, type) }.sortedBy { it.type }
data class ApiMilitary(
var nbShields: Int,
bgstack15