mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Commands] Cleanup #reloadstatic Command. (#2130)
- Cleanup messages and logic. - Make reloading of static zone data global instead of zone specific.
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
void command_reloadstatic(Client *c, const Seperator *sep)
|
||||
{
|
||||
c->Message(Chat::White, "Reloading zone static data...");
|
||||
zone->ReloadStaticData();
|
||||
c->Message(Chat::White, "Attempting to reload static zone data globally.");
|
||||
auto pack = new ServerPacket(ServerOP_ReloadStaticZoneData, 0);
|
||||
worldserver.SendPacket(pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user