diff options
| author | historia <[not public]> | 2026-06-24 22:55:35 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-24 22:55:35 -0400 |
| commit | 15b7e221b799ef107dec44ecdb294026dfd3d059 (patch) | |
| tree | 3748e464a77f0f082bea1567e9d6990052054961 /internal/object/item_store.go | |
| parent | 9d4b799db4868bcab291b83599ff088763cd4ed6 (diff) | |
| download | thehouseoficarus-15b7e221b799ef107dec44ecdb294026dfd3d059.tar.gz | |
refactor: pulled techs out to yaml files, unified numerous combat functions, broke up game object
Diffstat (limited to 'internal/object/item_store.go')
| -rw-r--r-- | internal/object/item_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/object/item_store.go b/internal/object/item_store.go index d75179f..8bc85e4 100644 --- a/internal/object/item_store.go +++ b/internal/object/item_store.go @@ -54,7 +54,7 @@ func (s *ItemStore) LoadAll() ([]*ItemDef, error) { } var def ItemDef if err := yaml.Unmarshal(data, &def); err != nil { - return nil + return fmt.Errorf("parse item %s: %w", id, err) } s.cache[id] = &def defs = append(defs, &def) |
