mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 19:52:17 +00:00
add sanity check to campCount on ^camp
This commit is contained in:
1 parent
a0f9745c46
commit
8fe5112e07
1 file changed
+3
-1
@@ -63,7 +63,9 @@ void bot_command_camp(Client *c, const Seperator *sep)
|
||||
++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)
|
||||
|
||||
Reference in new issue
Block a user