misc: cosmetic changes
This commit is contained in:
parent
eadd7cd3a2
commit
c65272e65b
6 changed files with 8 additions and 6 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue