misc: cosmetic changes

This commit is contained in:
ds 2020-09-10 13:54:00 +03:00
commit c65272e65b
6 changed files with 8 additions and 6 deletions

View file

@ -1549,7 +1549,7 @@ bool BotControl::executeCommands () {
const auto &prefix = m_args[0];
// no handling if not for us
if (prefix != "yb" && prefix != "yapb") {
if (prefix != product.cmdPri && prefix != product.cmdSec) {
return false;
}
Client &client = util.getClient (game.indexOfPlayer (m_ent));