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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/cmd_registry.go b/internal/game/cmd_registry.go
index 853fb6a..fa3518a 100644
--- a/internal/game/cmd_registry.go
+++ b/internal/game/cmd_registry.go
@@ -33,6 +33,8 @@ var commandRegistry = map[string]commandDef{
}, ClassActive},
"table": {(*Game).executeTableStatus, ClassInstant},
"status": {(*Game).executeTableStatus, ClassInstant},
+ "rules": {(*Game).executeRules, ClassInstant},
+ "list": {(*Game).executeList, ClassInstant},
"watch": {(*Game).executeWatch, ClassInstant},
"sitout": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "sitout") }, ClassInstant},
"decline": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "decline") }, ClassActive},
@@ -148,7 +150,6 @@ var commandRegistry = map[string]commandDef{
"inspect": {(*Game).executeInspect, ClassInstant},
"walk": {(*Game).executeWalk, ClassActive},
"bank": {(*Game).executeBank, ClassActive},
- "list": {(*Game).executeShopList, ClassInstant},
"browse": {(*Game).executeShopList, ClassInstant},
"buy": {(*Game).executeShopBuy, ClassInstant},
"sell": {(*Game).executeShopSell, ClassInstant},