From a3ae1e6aad696f584d138d9363c05dedff136a65 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 21 Jun 2026 22:19:17 -0400 Subject: feat: safespot system implemented --- internal/game/cmd_map.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/game/cmd_map.go') diff --git a/internal/game/cmd_map.go b/internal/game/cmd_map.go index be35a66..90f58ab 100644 --- a/internal/game/cmd_map.go +++ b/internal/game/cmd_map.go @@ -10,8 +10,8 @@ func (g *Game) executeMap(sess *net.Session, args []string, rawInput string) { func (g *Game) doMap(sess *net.Session) { p := sess.Player - mapWidth := p.OptionInt("mapwidth") - mapHeight := p.OptionInt("mapheight") + mapWidth := p.OptionInt("map_width") + mapHeight := p.OptionInt("map_height") if mapWidth < 5 { mapWidth = 5 } @@ -21,7 +21,7 @@ func (g *Game) doMap(sess *net.Session) { lines := buildFullMap(g, p.RoomID, mapWidth, mapHeight, mapGlyphsForPlayer(p.OptionBool("unicode"))) - mode := p.OptionString("mappadding") + mode := p.OptionString("map_padding") if mode == "none" || mode == "x" { lines = stripBlankRows(lines) } -- cgit v1.2.3