aboutsummaryrefslogtreecommitdiff
path: root/go/game/map.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-05 23:14:19 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-02-05 23:14:19 +0100
commit99050e9d633d9d95248b81550ef5998ce8db4ed4 (patch)
treea8036cd34de7b31749f3c6b7a1dd6de051bb1aee /go/game/map.go
parent7e7fd6f81d90541ff5d1cd814c15ab121e6159e1 (diff)
downloadmuhqs-game-99050e9d633d9d95248b81550ef5998ce8db4ed4.tar.gz
muhqs-game-99050e9d633d9d95248b81550ef5998ce8db4ed4.zip
fix some warnings reported by golang-ci
Diffstat (limited to 'go/game/map.go')
-rw-r--r--go/game/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/map.go b/go/game/map.go
index cab18f26..2115e0b0 100644
--- a/go/game/map.go
+++ b/go/game/map.go
@@ -286,7 +286,7 @@ func (m *Map) distributeStoreCards(cards PileOfCards, rand *rand.Rand) {
}
}
-func (m *Map) redistributeStoreCards(cards PileOfCards, rand *rand.Rand) {
+func (m *Map) redistributeStoreCards(rand *rand.Rand) {
poc := NewPileOfCards()
for _, store := range m.Stores {
store.MoveInto(poc)