Get the build fail to actually play and keep the building sound looping until the build is done.
This commit is contained in:
parent
2035a6dd00
commit
95cd84b09d
8 changed files with 8 additions and 9 deletions
|
@ -87,7 +87,6 @@ void Builder::BUILDING(BuildEvent ev) {
|
|||
}
|
||||
|
||||
build_out = NULL;
|
||||
game.event(GameEvent::BUILD_DONE);
|
||||
state(BuildState::DONE);
|
||||
} else {
|
||||
auto m = parse_line(line);
|
||||
|
@ -171,6 +170,7 @@ void Builder::DONE(BuildEvent ev) {
|
|||
gui.you_died();
|
||||
}
|
||||
|
||||
game.event(GameEvent::BUILD_DONE);
|
||||
listener->reset_state();
|
||||
gui.output("^^^^^^^^^^^ END ^^^^^^^^^^^");
|
||||
state(BuildState::WAITING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue