diff options
Diffstat (limited to 'internal/item/store.go')
| -rw-r--r-- | internal/item/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/item/store.go b/internal/item/store.go index 12aa729..0ced57b 100644 --- a/internal/item/store.go +++ b/internal/item/store.go @@ -109,6 +109,7 @@ func (s *ItemStore) IDSet() map[string]bool { func (s *ItemStore) Reload(dataDir string) { s.mu.Lock() defer s.mu.Unlock() + s.dataDir = dataDir s.cache = make(map[string]*ItemDef) s.pathIndex = behavior.BuildPathIndex(filepath.Join(dataDir, "items")) } |
