From 3e6e9bbc9fdd171b0eeb32ea1e2767a118825bb7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 22 Aug 2025 12:22:09 +0200 Subject: fix and test the banner implementation Fixes: 0667db9e5a765cbd1eec90b63fb8cd0a6e0a2dc7 --- go/game/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go/game/state.go') diff --git a/go/game/state.go b/go/game/state.go index 912d88f3..76133498 100644 --- a/go/game/state.go +++ b/go/game/state.go @@ -519,8 +519,8 @@ func (s *LocalState) addPermanent(perm Permanent) { s.units = append(s.units, p) } - if perm.Tile() != nil { - enterTile(perm, perm.Tile()) + if t := perm.Tile(); t != nil { + enterTile(perm, t) } perm.Card().Impl.onETB(s, perm) -- cgit v1.2.3