diff --git a/src/config.cpp b/src/config.cpp index 6634fc1..0c891c6 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -463,11 +463,8 @@ void BotConfig::loadChatConfig () { void BotConfig::loadLanguageConfig () { setupMemoryFiles (); - if (game.isDedicated () || game.is (GameFlags::Legacy)) { - - if (game.is (GameFlags::Legacy)) { - logger.message ("Bots multilingual system disabled, due to your Counter-Strike version!"); - } + if (game.is (GameFlags::Legacy)) { + logger.message ("Bots multilingual system disabled, due to your Counter-Strike version!"); return; // dedicated server will use only english translation } String line; diff --git a/src/control.cpp b/src/control.cpp index e55ff4e..35be195 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -341,7 +341,7 @@ int BotControl::cmdNode () { // remote graph editing stuff if (game.isDedicated ()) { addGraphCmd ("acquire_editor", "acquire_editor", "Acquires rights to edit graph on dedicated server.", &BotControl::cmdNodeAcquireEditor); - addGraphCmd ("release_editor", "acquire_editor", "Releases graph editing rights.", &BotControl::cmdNodeAcquireEditor); + addGraphCmd ("release_editor", "acquire_editor", "Releases graph editing rights.", &BotControl::cmdNodeReleaseEditor); } } if (commands.has (strValue (cmd))) {