add sanity check to campCount on ^camp

This commit is contained in:
nytmyr
2024-11-10 23:13:27 -06:00
parent a0f9745c46
commit 8fe5112e07
+3 -1
View File
@@ -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)