aboutsummaryrefslogtreecommitdiff
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-08-20 15:50:09 +0200
commitb43dc7b501ea3e2cfc606c4c5b707143edb00cb3 (patch)
tree60ae37b376a2c256db7a9b88b103e8554146d3d2
parentd37eb4f8e229db5cbf8fccdc71b1cb99096be3dc (diff)
downloadmuhqs-game-b43dc7b501ea3e2cfc606c4c5b707143edb00cb3.tar.gz
muhqs-game-b43dc7b501ea3e2cfc606c4c5b707143edb00cb3.zip
clear pile when dropping it
-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) {