First step in refactoring out the build running from the gui for later thread fiascos.
This commit is contained in:
parent
b0c9fefa9b
commit
0bac4dbfd9
5 changed files with 125 additions and 80 deletions
1
gui.cpp
1
gui.cpp
|
@ -85,6 +85,7 @@ void GUI::build_failed(bool play_sound, const string &command) {
|
|||
void GUI::you_died() {
|
||||
building_sound.stop();
|
||||
you_died_sound.play();
|
||||
output("!!!! YOU DIED! !!!! Learn to code luser.");
|
||||
output("YOU DIED!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue