aboutsummaryrefslogtreecommitdiff
path: root/internal/player/store.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 15:40:48 -0400
committerhistoria <[not public]>2026-06-25 15:40:48 -0400
commitabd612c15799f604e671e83dc7c410ed2b44185f (patch)
tree0597ca92350de73aac2a7cf26b2f2d6595dac0cc /internal/player/store.go
parent2725e2927a1595c7b100d942d1f14146252adeb7 (diff)
downloadthehouseoficarus-abd612c15799f604e671e83dc7c410ed2b44185f.tar.gz
slop refactor
Diffstat (limited to 'internal/player/store.go')
-rw-r--r--internal/player/store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/player/store.go b/internal/player/store.go
index 97ff13f..bcadf3b 100644
--- a/internal/player/store.go
+++ b/internal/player/store.go
@@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"
- "thehouseoficarus/internal/object"
"gopkg.in/yaml.v3"
+ "thehouseoficarus/internal/item"
)
type AccountStore struct {
@@ -90,7 +90,7 @@ func (s *AccountStore) LoadCharacter(name string) (*Player, error) {
p.Skills = make(map[SkillName]int)
}
if p.Equipment == nil {
- p.Equipment = make(map[object.EquipSlot]string)
+ p.Equipment = make(map[item.EquipSlot]string)
}
if p.Inventory == nil {
p.Inventory = make(map[int]*InventorySlot)