aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_use.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 14:22:14 -0400
committerhistoria <[not public]>2026-10-05 14:22:14 -0400
commit90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (patch)
treec10bc0bebfbed6fde01a7f08cf6e2d98809b91a7 /internal/game/cmd_use.go
parentc84a9944356f590d90d819d652bdf1349ebacd40 (diff)
downloadthehouseoficarus-90ad8c0c33b519d5830c69d4128bdc984b5e9de8.tar.gz
feat: cryptocurrency exchange added to casino
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