aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_use.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_use.go')
-rw-r--r--internal/game/cmd_use.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_use.go b/internal/game/cmd_use.go
index 54a36f5..af60204 100644
--- a/internal/game/cmd_use.go
+++ b/internal/game/cmd_use.go
@@ -31,6 +31,10 @@ func (g *Game) doUse(sess *net.Session, input string) {
lower := strings.ToLower(strings.TrimSpace(input))
+ if cryptoUseTarget(lower) && g.atCryptoCounter(p) {
+ g.openCryptoCounter(sess)
+ return
+ }
if predictionUseTarget(lower) && g.atPredictionCounter(p) {
g.openPredictionCounter(sess)
return