aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_verbs.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 17:05:14 -0400
committerhistoria <[not public]>2026-10-05 17:05:14 -0400
commite42952469dadfb3535633c66c881050ac128703c (patch)
treea78f7396b72cdbd6fa4f6c454c830f40cf2ad0cb /internal/game/cmd_verbs.go
parent90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (diff)
downloadthehouseoficarus-e42952469dadfb3535633c66c881050ac128703c.tar.gz
fix: gather verbs, walk oom, admin path bypass, roulette refund
Diffstat (limited to 'internal/game/cmd_verbs.go')
-rw-r--r--internal/game/cmd_verbs.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/game/cmd_verbs.go b/internal/game/cmd_verbs.go
index b5b0c3d..6102978 100644
--- a/internal/game/cmd_verbs.go
+++ b/internal/game/cmd_verbs.go
@@ -277,7 +277,12 @@ func writeCmdLineStrings(sess *net.Session, cmds []string) {
}
func wrapCmdLines(sess *net.Session, cmds []string, prefix string) {
- const width = 70
+ width := 70
+ if sess.Player != nil {
+ if w := sess.Player.OptionInt("wrap_width"); w > 0 {
+ width = w
+ }
+ }
var current string
for _, cmd := range cmds {
if current == "" {