mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Quests] Hot Reload Changes (#4302)
* [Quests] Hot Reload Changes * snake_case
This commit is contained in:
@@ -3550,18 +3550,18 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
zone->SetQuestHotReloadQueued(true);
|
||||
} else if (request_zone_short_name == "all") {
|
||||
std::string reload_quest_saylink = Saylink::Silent("#reload quest", "Locally");
|
||||
std::string reload_world_saylink = Saylink::Silent("#reload world", "Globally");
|
||||
worldserver.SendEmoteMessage(
|
||||
0,
|
||||
0,
|
||||
AccountStatus::ApprenticeGuide,
|
||||
Chat::Yellow,
|
||||
fmt::format(
|
||||
std::string reload_world_saylink = Saylink::Silent("#reload world 1", "Globally");
|
||||
for (const auto& [client_id, client] : entity_list.GetClientList()) {
|
||||
if (client->Admin() < AccountStatus::ApprenticeGuide) {
|
||||
continue;
|
||||
}
|
||||
|
||||
client->Message(Chat::Yellow, fmt::format(
|
||||
"A quest, plugin, or global script has changed. Reload: [{}] [{}]",
|
||||
reload_quest_saylink,
|
||||
reload_world_saylink
|
||||
).c_str()
|
||||
);
|
||||
).c_str());
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user