From b2f6a2d3ba74ea98b685db3c6367fed3d6066d07 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 8 Feb 2023 13:58:52 +0100 Subject: clear pile when dropping it --- go/game/permanent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/game') 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) { -- cgit v1.2.3