aboutsummaryrefslogtreecommitdiff
path: root/internal/player/store.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/player/store.go
parent7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (diff)
downloadthehouseoficarus-5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629.tar.gz
feat: map now only reveals with exploration. players can set custom map symbols.
Diffstat (limited to 'internal/player/store.go')
-rw-r--r--internal/player/store.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/player/store.go b/internal/player/store.go
index 04af594..97ff13f 100644
--- a/internal/player/store.go
+++ b/internal/player/store.go
@@ -95,6 +95,9 @@ func (s *AccountStore) LoadCharacter(name string) (*Player, error) {
if p.Inventory == nil {
p.Inventory = make(map[int]*InventorySlot)
}
+ if p.MapSymbols == nil {
+ p.MapSymbols = make(map[int]MapSymbolData)
+ }
return &p, nil
}