aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_use.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-22 04:24:11 -0400
committerhistoria <[not public]>2026-06-22 04:24:11 -0400
commit5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 (patch)
tree18f500ca3492ba206a3f66e2f01146b05a1675b2 /internal/game/action_use.go
parent7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (diff)
downloadthehouseoficarus-5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629.tar.gz
feat: map now only reveals with exploration. players can set custom map symbols.
Diffstat (limited to 'internal/game/action_use.go')
-rw-r--r--internal/game/action_use.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_use.go b/internal/game/action_use.go
index b4c4b25..0c7d45c 100644
--- a/internal/game/action_use.go
+++ b/internal/game/action_use.go
@@ -46,7 +46,7 @@ func (g *Game) startUse(sess *net.Session, p *player.Player, obj *object.ObjectD
Data: map[string]any{"step": 0, "use_cfg": cfg},
}
- sess.WriteLine(fmt.Sprintf("\n%s", cfg.Message))
+ sess.WriteLine(fmt.Sprintf("%s", cfg.Message))
}
func (g *Game) advanceUse(sess *net.Session, p *player.Player) {