add sanity check to campCount on ^camp

This commit is contained in:
nytmyr committed 2024-12-12 22:13:01 -06:00
1 parent a0f9745c46
commit 8fe5112e07
1 file changed
+3 -1
+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)