diff options
| author | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
| commit | 39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch) | |
| tree | 50ec7474012db8dd092ed996d592591ec9425d39 /internal/game/cmd_look.go | |
| parent | a18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff) | |
| download | thehouseoficarus-39ad552cb5f48c288e1d7a62e80ceb180882eae0.tar.gz | |
chore: remove dead casino code and fold duplicated menu/odds logic
Diffstat (limited to 'internal/game/cmd_look.go')
| -rw-r--r-- | internal/game/cmd_look.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/game/cmd_look.go b/internal/game/cmd_look.go index 1de58f8..6fb80e5 100644 --- a/internal/game/cmd_look.go +++ b/internal/game/cmd_look.go @@ -146,9 +146,7 @@ func (g *Game) writeLookSideBySide(sess *net.Session, p *player.Player, contentL content = append(content, line) continue } - for _, part := range strings.Split(color.WrapANSI(line, mapWidth), "\r\n") { - content = append(content, part) - } + content = append(content, strings.Split(color.WrapANSI(line, mapWidth), "\r\n")...) } total := len(content) if len(mapLines) > total { |
