mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 19:47:16 +00:00
add sanity check to campCount on ^camp
This commit is contained in:
@@ -63,7 +63,9 @@ void bot_command_camp(Client *c, const Seperator *sep)
|
|||||||
++campCount;
|
++campCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
c->Message(Chat::White, "%i of your bots have been camped.", campCount);
|
if (campCount) {
|
||||||
|
c->Message(Chat::White, "%i of your bots have been camped.", campCount);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void bot_command_clone(Client *c, const Seperator *sep)
|
void bot_command_clone(Client *c, const Seperator *sep)
|
||||||
|
|||||||
Reference in New Issue
Block a user