add sanity check to campCount on ^camp

This commit is contained in:
nytmyr
2024-11-10 23:13:27 -06:00
parent 351ada12a5
commit 8fa429c02d
+2
View File
@@ -63,8 +63,10 @@ void bot_command_camp(Client *c, const Seperator *sep)
++campCount; ++campCount;
} }
if (campCount) {
c->Message(Chat::White, "%i of your bots have been camped.", 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)
{ {