mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 02:41:50 +02:00
- fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
- added automation abilities for automated testing with automated saved games
This commit is contained in:
@@ -293,9 +293,15 @@ void MenuStateRoot::render() {
|
||||
if(program != NULL) program->renderProgramMsgBox();
|
||||
}
|
||||
|
||||
void MenuStateRoot::update(){
|
||||
if(Config::getInstance().getBool("AutoTest")){
|
||||
AutoTest::getInstance().updateRoot(program, mainMenu);
|
||||
void MenuStateRoot::update() {
|
||||
if(Config::getInstance().getBool("AutoTest")) {
|
||||
if(AutoTest::getInstance().mustExitGame() == false) {
|
||||
AutoTest::getInstance().updateRoot(program, mainMenu);
|
||||
}
|
||||
else {
|
||||
program->exit();
|
||||
}
|
||||
return;
|
||||
}
|
||||
console.update();
|
||||
}
|
||||
|
Reference in New Issue
Block a user