aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_gather.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act_gather.go')
-rw-r--r--internal/game/act_gather.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/act_gather.go b/internal/game/act_gather.go
index 8743a46..0701fc4 100644
--- a/internal/game/act_gather.go
+++ b/internal/game/act_gather.go
@@ -6,7 +6,6 @@ import (
"strings"
"thehouseoficarus/internal/behavior"
- "thehouseoficarus/internal/color"
"thehouseoficarus/internal/engine"
"thehouseoficarus/internal/net"
"thehouseoficarus/internal/object"
@@ -248,7 +247,7 @@ func (g *Game) advanceGather(sess *net.Session, p *player.Player) {
msg = fmt.Sprintf("You manage to get some %s.", coloredName)
} else {
msg = strings.ReplaceAll(msg, "%n", coloredName)
- msg = color.ExpandTags(g.colorMode(sess), msg)
+ msg = g.expandTags(sess, msg)
}
if xp > 0 && p.OptionBool("xp_drops") {
msg += g.formatXpDropSingle(sess, p, player.SkillName(cfg.Skill), xp)