mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 11:42:36 +00:00
[Bug FIx] Fix #repop Command. (#2159)
If you use no arguments, the command does not repop.
This commit is contained in:
parent
f370a6048f
commit
597e324319
@ -5,6 +5,8 @@ void command_repop(Client *c, const Seperator *sep)
|
|||||||
int arguments = sep->argnum;
|
int arguments = sep->argnum;
|
||||||
if (!arguments) {
|
if (!arguments) {
|
||||||
c->Message(Chat::White, "Zone depopped, repopping now.");
|
c->Message(Chat::White, "Zone depopped, repopping now.");
|
||||||
|
zone->Repop();
|
||||||
|
zone->spawn2_timer.Trigger();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user