diff options
Diffstat (limited to 'go/client/keybindings.go')
| -rw-r--r-- | go/client/keybindings.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/go/client/keybindings.go b/go/client/keybindings.go index 2bfc52c7..ebc66c22 100644 --- a/go/client/keybindings.go +++ b/go/client/keybindings.go @@ -67,7 +67,9 @@ func selection(g *Game, x, y int) bool { if g.prompt != nil { if err := g.prompt.Add(obj); err != nil { log.Println("Not added", obj, "to active prompt:", err) - g.handleSelection(obj, x, y) + if g.prompt.Cancelable() { + g.handleSelection(obj, x, y) + } } else { g.updateHighlight() } |
