core: implicitly set bot usage when no gui
This commit is contained in:
parent
64c5c5d20e
commit
35bbc152df
@ -10,6 +10,7 @@ int main(int argc, char* argv[]) {
|
|||||||
for (int i = 1; i < args.size(); ++i) {
|
for (int i = 1; i < args.size(); ++i) {
|
||||||
if (args[i].compare("--no-gui") == 0) {
|
if (args[i].compare("--no-gui") == 0) {
|
||||||
g_pEngine->state.m_bNoDisplay = true;
|
g_pEngine->state.m_bNoDisplay = true;
|
||||||
|
g_pEngine->state.m_bIsBotControlled = true;
|
||||||
std::cout << "[LOG - Main] Disabling display" << std::endl;
|
std::cout << "[LOG - Main] Disabling display" << std::endl;
|
||||||
} else if (args[i].compare("--bot") == 0) {
|
} else if (args[i].compare("--bot") == 0) {
|
||||||
g_pEngine->state.m_bIsBotControlled = true;
|
g_pEngine->state.m_bIsBotControlled = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user