Test suite now accurately runs the GameEngine FSM for multiple rounds.

This commit is contained in:
Zed A. Shaw 2024-09-15 03:23:09 -04:00
parent 07a212d9d7
commit 07553400f5
6 changed files with 50 additions and 18 deletions

View file

@ -83,7 +83,7 @@ void Builder::building(BuildEvent ev) {
gui.build_works();
} else {
game.event(GameEvent::BUILD_FAILED);
gui.build_failed(true, build_cmd);
gui.build_failed(!game.is_dead(), build_cmd);
}
build_out = NULL;