[Bug FIx] Fix #repop Command. (#2159)

If you use no arguments, the command does not repop.
This commit is contained in:
Kinglykrab 2022-05-08 17:01:50 -04:00 committed by GitHub
parent f370a6048f
commit 597e324319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,8 @@ void command_repop(Client *c, const Seperator *sep)
int arguments = sep->argnum;
if (!arguments) {
c->Message(Chat::White, "Zone depopped, repopping now.");
zone->Repop();
zone->spawn2_timer.Trigger();
return;
}