diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-08 13:58:52 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:49 +0100 |
| commit | b2f6a2d3ba74ea98b685db3c6367fed3d6066d07 (patch) | |
| tree | bc453247047b4042f7e9ef5c2c6a5bc1dafbe0c1 /go/game | |
| parent | 5b46d139c555fc45b9021b99de297114dfbffaa8 (diff) | |
| download | muhqs-game-b2f6a2d3ba74ea98b685db3c6367fed3d6066d07.tar.gz muhqs-game-b2f6a2d3ba74ea98b685db3c6367fed3d6066d07.zip | |
clear pile when dropping it
Diffstat (limited to 'go/game')
| -rw-r--r-- | go/game/permanent.go | 2 |
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) { |
