Fix a bug where a failinb build that causes death would play both the death sound and build failed sound.
This commit is contained in:
parent
e8163bbeaf
commit
fee724e637
3 changed files with 9 additions and 4 deletions
|
@ -88,7 +88,8 @@ void Builder::run_build() {
|
|||
if(rc == 0) {
|
||||
gui.build_works();
|
||||
} else {
|
||||
gui.build_failed(build_cmd);
|
||||
gui.output(format(">>>>>>>> DIED? {}", game.is_dead()));
|
||||
gui.build_failed(!game.is_dead(), build_cmd);
|
||||
}
|
||||
|
||||
stats_out.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue