Back to News

feat: respawn a map's sobs from the database on reload

•By Moh•changelogdawn
Changelog

- ServerDatabase.ReloadMapNpcs also despawns the map's SOBs and loads them again from that map's sobs rows (SobRepository.GetSOBByMap)

- SOBs on a map with a running event (Map.ActiveEvent) are kept, since the war ruleset holds the live pole and gates

- WorldAssetCatalog.WithNpcsForMap replaces the map's SOB definitions along with its NPCs

- /reload sob runs the same map reload instead of adding SOBs without removing the loaded ones

- Document SOB reloads after CES saves in ServerNpcEditor.md