diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-22 12:22:09 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-22 12:22:09 +0200 |
| commit | 3e6e9bbc9fdd171b0eeb32ea1e2767a118825bb7 (patch) | |
| tree | 83e2376c32c732e09152abaa1738ba8c5a589a5b /go/game/state.go | |
| parent | 351d670db4fdc6d642dcb58aa21ae733bad5c196 (diff) | |
| download | muhqs-game-3e6e9bbc9fdd171b0eeb32ea1e2767a118825bb7.tar.gz muhqs-game-3e6e9bbc9fdd171b0eeb32ea1e2767a118825bb7.zip | |
fix and test the banner implementation
Fixes: 0667db9e5a765cbd1eec90b63fb8cd0a6e0a2dc7
Diffstat (limited to 'go/game/state.go')
| -rw-r--r-- | go/game/state.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
