mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
add sanity check to campCount on ^camp
This commit is contained in:
1 parent
351ada12a5
commit
8fa429c02d
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