aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_prompt.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/render_prompt.go')
-rw-r--r--internal/game/render_prompt.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/render_prompt.go b/internal/game/render_prompt.go
index 9d7b20a..2b4f50c 100644
--- a/internal/game/render_prompt.go
+++ b/internal/game/render_prompt.go
@@ -4,7 +4,6 @@ import (
"fmt"
"strings"
- "thehouseoficarus/internal/color"
"thehouseoficarus/internal/net"
"thehouseoficarus/internal/player"
"thehouseoficarus/internal/world"
@@ -22,7 +21,7 @@ func (g *Game) promptStr(sess *net.Session) string {
}
func (g *Game) expandPromptColors(sess *net.Session, text string) string {
- return color.ExpandTags(g.colorMode(sess), text)
+ return g.expandTags(sess, text)
}
func (g *Game) expandPromptVars(sess *net.Session, text string) string {