mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Fix order of operations issues in worldshutdown command (#2029)
This commit is contained in:
parent
cc2ef11158
commit
58cde58b45
@ -12,8 +12,8 @@ void command_worldshutdown(Client *c, const Seperator *sep)
|
||||
if (
|
||||
sep->IsNumber(1) &&
|
||||
sep->IsNumber(2) &&
|
||||
(time = std::stoi(sep->arg[1]) > 0) &&
|
||||
(interval = std::stoi(sep->arg[2]) > 0)
|
||||
((time = std::stoi(sep->arg[1])) > 0) &&
|
||||
((interval = std::stoi(sep->arg[2])) > 0)
|
||||
) {
|
||||
int time_minutes = (time / 60);
|
||||
quest_manager.WorldWideMessage(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user