aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/state.go')
-rw-r--r--go/game/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/state.go b/go/game/state.go
index 239eb895..f8a74fa6 100644
--- a/go/game/state.go
+++ b/go/game/state.go
@@ -601,7 +601,7 @@ func (s *LocalState) destroyPermanent(p Permanent) {
p.Owner().DiscardPile.AddCard(p.Card())
- s.events = append(s.events, Event{eventType: EventTypes.Destruction, affected: []interface{}{p}})
+ s.events = append(s.events, Event{eventType: EventTypes.Destruction, affected: []any{p}})
}
func (s *LocalState) fight(p1, p2 Permanent) {