Better UI layout and actually tracking deaths.

This commit is contained in:
Zed A. Shaw 2024-09-16 18:19:54 -04:00
parent 662e4bf918
commit 56663b9052
6 changed files with 23 additions and 51 deletions

View file

@ -95,6 +95,7 @@ void GameEngine::IN_ROUND(GameEvent ev, string &hit_type) {
void GameEngine::DEAD(GameEvent ev) {
if(ev == GameEvent::BUILD_DONE) {
deaths++;
reset();
state(GameState::FAILURE);
FAILURE(ev);