aboutsummaryrefslogtreecommitdiff
path: root/go/game/permanent.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-08 13:58:52 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:49 +0100
commitb2f6a2d3ba74ea98b685db3c6367fed3d6066d07 (patch)
treebc453247047b4042f7e9ef5c2c6a5bc1dafbe0c1 /go/game/permanent.go
parent5b46d139c555fc45b9021b99de297114dfbffaa8 (diff)
downloadmuhqs-game-b2f6a2d3ba74ea98b685db3c6367fed3d6066d07.tar.gz
muhqs-game-b2f6a2d3ba74ea98b685db3c6367fed3d6066d07.zip
clear pile when dropping it
Diffstat (limited to 'go/game/permanent.go')
-rw-r--r--go/game/permanent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/permanent.go b/go/game/permanent.go
index 9188a206..f25c95b3 100644
--- a/go/game/permanent.go
+++ b/go/game/permanent.go
@@ -190,7 +190,7 @@ func DropPile(containing Permanent) {
p.setContainingPerm(nil)
}
- // TODO: reset the containing's pile
+ containing.clearPile()
}
func enterTile(p Permanent, t *Tile) {