1
0

make web command in line for /reload spells

This commit is contained in:
Emagi 2025-02-09 16:39:09 -05:00
parent 8b4a623f42
commit 5bbcaa713a

View File

@ -256,8 +256,6 @@ void World::Web_worldhandle_reloadcommand(const http::request<http::string_body>
world.SetReloadingSubsystem("Spells"); world.SetReloadingSubsystem("Spells");
zone_list.DeleteSpellProcess(); zone_list.DeleteSpellProcess();
if (lua_interface)
lua_interface->DestroySpells();
master_spell_list.Reload(); master_spell_list.Reload();
zone_list.LoadSpellProcess(); zone_list.LoadSpellProcess();
world.RemoveReloadingSubSystem("Spells"); world.RemoveReloadingSubSystem("Spells");