aboutsummaryrefslogtreecommitdiff
path: root/internal/player/store.go
diff options
context:
space:
mode:
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
}