diff options
Diffstat (limited to 'go/client')
| -rw-r--r-- | go/client/game.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/client/game.go b/go/client/game.go index b70c2b8f..abd68378 100644 --- a/go/client/game.go +++ b/go/client/game.go @@ -263,7 +263,7 @@ func (g *Game) addPermActionChoice(perm game.Permanent, x, y int) { perms := []game.Permanent{perm} for _, p := range perm.Pile() { - if len(p.AvailActions()) > 0 { + if len(p.CurrentlyAvailActions()) > 0 { perms = append(perms, p) } } @@ -284,7 +284,7 @@ func (g *Game) addPermActionChoice(perm game.Permanent, x, y int) { } func (g *Game) addActionChoice(perm game.Permanent, x, y int) { - actions := perm.AvailActions() + actions := perm.CurrentlyAvailActions() if len(actions) > 0 { g.selectedObject = perm onClick := func(c *ui.Choice, x, y int) { |
