[Bug Fix] World Shutdown Filter (#3930)

Moved World Shutdown to the System filter from base yellow.
This commit is contained in:
Fryguy
2024-01-08 12:14:08 -05:00
committed by GitHub
parent dfb06db17b
commit 6bf36f3e77
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ void ZSList::Process() {
0, 0,
0, 0,
AccountStatus::Player, AccountStatus::Player,
Chat::Yellow, Chat::System,
fmt::format( fmt::format(
"[SYSTEM] World will be shutting down in {} minutes.", "[SYSTEM] World will be shutting down in {} minutes.",
((shutdowntimer->GetRemainingTime() / 1000) / 60) ((shutdowntimer->GetRemainingTime() / 1000) / 60)
@@ -759,7 +759,7 @@ void ZSList::WorldShutDown(uint32 time, uint32 interval)
0, 0,
0, 0,
AccountStatus::Player, AccountStatus::Player,
Chat::Yellow, Chat::System,
fmt::format( fmt::format(
"[SYSTEM] World will be shutting down in {} minutes.", "[SYSTEM] World will be shutting down in {} minutes.",
(time / 60) (time / 60)
+1 -1
View File
@@ -17,7 +17,7 @@ void command_worldshutdown(Client *c, const Seperator *sep)
) { ) {
int time_minutes = (time / 60); int time_minutes = (time / 60);
quest_manager.WorldWideMessage( quest_manager.WorldWideMessage(
Chat::Yellow, Chat::System,
fmt::format( fmt::format(
"[SYSTEM] World will be shutting down in {} minutes.", "[SYSTEM] World will be shutting down in {} minutes.",
time_minutes time_minutes