aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_score.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-07 16:46:32 -0400
committerhistoria <[not public]>2026-07-07 16:46:32 -0400
commit726997d799edc388cd448e978d5bb0755aaa551c (patch)
treeb7aa8dc2dc9d2edcad1c0a4012a28d01d348db69 /internal/game/cmd_score.go
parentab2597b22ccdb71116992aec78080d9858358d04 (diff)
downloadthehouseoficarus-726997d799edc388cd448e978d5bb0755aaa551c.tar.gz
feat: bitpacked and base64 encoded VisitedRooms in player YAML to keep the file human readable
Diffstat (limited to 'internal/game/cmd_score.go')
-rw-r--r--internal/game/cmd_score.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go
index b493e80..59cedb1 100644
--- a/internal/game/cmd_score.go
+++ b/internal/game/cmd_score.go
@@ -174,7 +174,7 @@ func (g *Game) doScore(sess *net.Session) {
sep()
stats := p.Stats
statsLine := fmt.Sprintf("Rooms Explored: %d Kills: %d Deaths: %d",
- len(stats.RoomsVisited), stats.TotalKills, stats.Deaths)
+ stats.RoomsVisited.Len(), stats.TotalKills, stats.Deaths)
content(statsLine)
content(fmt.Sprintf("APS Nodes Found: %d", len(getKnownApsNodes(p))))