diff options
| author | historia <[not public]> | 2026-08-03 17:15:50 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-08-03 17:15:50 -0400 |
| commit | a2cbc04f86508708daa09affa5e9d73cc689b2ba (patch) | |
| tree | 0d0c6c7fbf4a775faaf5e9dd700157b883882638 /internal/game/look_room.go | |
| parent | adda27dba5bf7bf1dee62159f0cbc0bd90734751 (diff) | |
| download | thehouseoficarus-a2cbc04f86508708daa09affa5e9d73cc689b2ba.tar.gz | |
feat: new color 'command', color tag system implemented
Diffstat (limited to 'internal/game/look_room.go')
| -rw-r--r-- | internal/game/look_room.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/look_room.go b/internal/game/look_room.go index dc488f0..9d77ebe 100644 --- a/internal/game/look_room.go +++ b/internal/game/look_room.go @@ -58,11 +58,10 @@ func (g *Game) showRoomDescription(sess *net.Session, p *player.Player, room *wo descWidth = 70 } rawLines := wrapText(g.roomDescription(sess, room), descWidth) - mode := g.colorMode(sess) roomDescSpec := g.resolveColor(sess, "room_desc") lines := make([]string, len(rawLines)) for i, l := range rawLines { - lines[i] = color.ExpandTagsDefault(mode, roomDescSpec, l) + lines[i] = g.expandTagsDefault(sess, roomDescSpec, l) } return lines } |
