aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_registry.go')
-rw-r--r--internal/game/cmd_registry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_registry.go b/internal/game/cmd_registry.go
index acac68b..8aad30b 100644
--- a/internal/game/cmd_registry.go
+++ b/internal/game/cmd_registry.go
@@ -56,8 +56,8 @@ var commandRegistry = map[string]commandDef{
}, ClassInstant},
"roll": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "roll") }, ClassActive},
"autoroll": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "autoroll") }, ClassInstant},
- "unbet": {func(g *Game, s *net.Session, args []string, _ string) {
- g.executeTableAction(s, "unbet "+strings.Join(args, " "))
+ "unbet": {func(g *Game, s *net.Session, _ []string, _ string) {
+ g.executeTableAction(s, "unbet")
}, ClassActive},
"table": {(*Game).executeTableStatus, ClassInstant},
"status": {(*Game).executeTableStatus, ClassInstant},