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>2025-01-27 16:43:47 +0100
commit1a2ee6899d8243c5f55f48fe48ef73f3f2507e35 (patch)
tree1f60c8230bc862f73077fec140c0a9c3890b63c7 /go/game/map.go
parente9070ef3752c5d2ab1f9faac48095995772ce726 (diff)
downloadmuhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.tar.gz
muhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.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)