[Quests] Hot Reload Changes (#4302)

* [Quests] Hot Reload Changes

* snake_case
This commit is contained in:
Chris Miles
2024-05-09 00:51:43 -05:00
committed by GitHub
parent fe136e58e4
commit 257935d33a
2 changed files with 19 additions and 9 deletions
+9 -9
View File
@@ -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;
}