diff options
| author | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
| commit | 5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 (patch) | |
| tree | 18f500ca3492ba206a3f66e2f01146b05a1675b2 /internal/game/cmd_map.go | |
| parent | 7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (diff) | |
| download | thehouseoficarus-5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629.tar.gz | |
feat: map now only reveals with exploration. players can set custom map symbols.
Diffstat (limited to 'internal/game/cmd_map.go')
| -rw-r--r-- | internal/game/cmd_map.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_map.go b/internal/game/cmd_map.go index 90f58ab..fc4ebf1 100644 --- a/internal/game/cmd_map.go +++ b/internal/game/cmd_map.go @@ -19,7 +19,7 @@ func (g *Game) doMap(sess *net.Session) { mapHeight = 5 } - lines := buildFullMap(g, p.RoomID, mapWidth, mapHeight, mapGlyphsForPlayer(p.OptionBool("unicode"))) + lines := buildFullMap(g, sess, p.RoomID, mapWidth, mapHeight, mapGlyphsForPlayer(p.OptionBool("unicode"))) mode := p.OptionString("map_padding") if mode == "none" || mode == "x" { @@ -30,7 +30,7 @@ func (g *Game) doMap(sess *net.Session) { } if len(lines) == 0 { - sess.WriteLine("\nNo map data to display.") + sess.WriteLine("No map data to display.") return } sess.WriteLine("") |
