diff options
| author | historia <[not public]> | 2026-06-30 03:57:52 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-30 03:57:52 -0400 |
| commit | 712072209ab5e3b3a14ebc0c770b020afe544560 (patch) | |
| tree | f5247fa8e03ed327ecb6cbff622bf6bdccb2066c /internal/world | |
| parent | 7a4b91304061777e7b3365b505d1e74878043d35 (diff) | |
| download | thehouseoficarus-712072209ab5e3b3a14ebc0c770b020afe544560.tar.gz | |
feat: all admin mapping features working
Diffstat (limited to 'internal/world')
| -rw-r--r-- | internal/world/mob.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/world/mob.go b/internal/world/mob.go index e02da53..cc2d2b2 100644 --- a/internal/world/mob.go +++ b/internal/world/mob.go @@ -274,6 +274,7 @@ func (s *MobStore) LoadDef(id string) (*MobDef, error) { if err := yaml.Unmarshal(data, &def); err != nil { return nil, fmt.Errorf("parse mob %s: %w", id, err) } + def.ID = id s.mu.Lock() s.defs[id] = &def |
