aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_look.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_look.go')
-rw-r--r--internal/game/cmd_look.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/game/cmd_look.go b/internal/game/cmd_look.go
index ab01c4c..92aeea6 100644
--- a/internal/game/cmd_look.go
+++ b/internal/game/cmd_look.go
@@ -65,6 +65,15 @@ func (g *Game) doLook(sess *net.Session) {
// Seated at a table: look keeps its room-first order, then appends the
// live game state and the current hint menu.
g.showCasinoGameLook(sess, p, room)
+ if sess.CryptoActive && room.CryptoExchange {
+ sess.CryptoShowHints = true
+ if sess.CryptoBusy {
+ sess.WriteLine("Updating crypto quotes...")
+ g.cryptoHints(sess)
+ } else {
+ g.executeCrypto(sess, "refresh", nil)
+ }
+ }
if sess.PredictionActive && room.PredictionExchange {
sess.WriteLine("")
if sess.PredictionBusy {