core: implicitly set bot usage when no gui

This commit is contained in:
Trianta 2024-08-03 18:41:36 -05:00
parent 64c5c5d20e
commit 35bbc152df

View File

@ -10,6 +10,7 @@ int main(int argc, char* argv[]) {
for (int i = 1; i < args.size(); ++i) {
if (args[i].compare("--no-gui") == 0) {
g_pEngine->state.m_bNoDisplay = true;
g_pEngine->state.m_bIsBotControlled = true;
std::cout << "[LOG - Main] Disabling display" << std::endl;
} else if (args[i].compare("--bot") == 0) {
g_pEngine->state.m_bIsBotControlled = true;