diff options
Diffstat (limited to 'internal/game/cmd_look.go')
| -rw-r--r-- | internal/game/cmd_look.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/game/cmd_look.go b/internal/game/cmd_look.go index 70bc2c2..38cc83c 100644 --- a/internal/game/cmd_look.go +++ b/internal/game/cmd_look.go @@ -56,7 +56,11 @@ func (g *Game) doLook(sess *net.Session) { } } - g.showRoomExits(sess, p, room) + // When the minimap is taller than the room content it already renders + // empty content rows below the last line, so the exit section must not + // add another gap on top of them: that is what read as two blank lines. + addExitGap := !(mapOn && len(mapLines) > len(content)) + g.showRoomExits(sess, p, room, addExitGap) g.showRoomPlayers(sess, p, room) // Seated at a table: look keeps its room-first order, then appends the // live game state and the current hint menu. |
