aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rw-r--r--go/game/areaEffect.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/areaEffect.go b/go/game/areaEffect.go
index 9260f8a7..2cb54826 100644
--- a/go/game/areaEffect.go
+++ b/go/game/areaEffect.go
@@ -44,7 +44,7 @@ func newCombinedAreaEffect(aoes []areaEffect) *dynamicAreaEffect {
func newGrantFullActionEffect(cardPath string, f ActionFuncPrototype, desc, tag string,
) *dynamicAreaEffect {
onEntering := func(p Permanent) {
- if p.Card().Path() != cardPath {
+ if cardPath != "*" && p.Card().Path() != cardPath {
return
}
@@ -55,7 +55,7 @@ func newGrantFullActionEffect(cardPath string, f ActionFuncPrototype, desc, tag
}
onLeaving := func(p Permanent) {
- if p.Card().Path() != cardPath {
+ if cardPath != "*" && p.Card().Path() != cardPath {
return
}
u := p.(*Unit)