aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/roulette.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/roulette.go')
-rw-r--r--internal/casino/roulette.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/casino/roulette.go b/internal/casino/roulette.go
index 8949ff8..de6536f 100644
--- a/internal/casino/roulette.go
+++ b/internal/casino/roulette.go
@@ -502,6 +502,13 @@ func (t *rouletteTable) view() *RouletteSnapshot {
}
return s
}
+
+// board is the table-only view for the table command.
+func (t *rouletteTable) board(_ string) Snapshot {
+ t.mu.Lock()
+ defer t.mu.Unlock()
+ return t.view()
+}
func (t *rouletteTable) menuEvent(name string) Event {
commands := []MenuCommand{}
p := t.players.get(name)
@@ -512,7 +519,7 @@ func (t *rouletteTable) menuEvent(name string) Event {
}
}
if p != nil {
- commands = append(commands, MenuCommand{Command: "sitout / stop", Desc: "Sit out / leave when your wager settles"})
+ commands = append(commands, MenuCommand{Command: "stop", Desc: "Leave when your wager settles"})
}
commands = append(commands, MenuCommand{Command: "table", Desc: "View the layout"})
if p != nil {