aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-24 17:53:34 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:52 +0100
commit19300ccae8da8287e6e17090c3ec975b297e4d4d (patch)
tree8c5c2d548dbc2fa2d3587ce5f54d6b14484c6464
parentb1a178b3d1b00cea5625c704f21ba27b72ff9664 (diff)
downloadmuhqs-game-19300ccae8da8287e6e17090c3ec975b297e4d4d.tar.gz
muhqs-game-19300ccae8da8287e6e17090c3ec975b297e4d4d.zip
the tile of destroyed permanents are no longer reset
Fixes: 8acaebb8
-rw-r--r--go/game/areaEffect_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/areaEffect_test.go b/go/game/areaEffect_test.go
index 3d8c8857..f6321d30 100644
--- a/go/game/areaEffect_test.go
+++ b/go/game/areaEffect_test.go
@@ -39,7 +39,7 @@ symbols:
}
s.destroyPermanent(palisade)
- if !left0_0 || palisade.Tile() != nil || t0_0.Permanent != nil {
+ if !left0_0 || t0_0.Permanent != nil {
t.Fatalf("destroyed palisade did not leave tile %v", t0_0)
}
@@ -60,7 +60,7 @@ symbols:
}
s.destroyPermanent(archer)
- if !left0_1 || archer.Tile() != nil || t0_1.Permanent != nil {
+ if !left0_1 || t0_1.Permanent != nil {
t.Fatalf("destroyed archer did not leave tile %v", t0_1)
}