Make menu to state machine

This commit is contained in:
Vladislav Khorev committed 2026-03-06 21:52:00 +03:00
1 parent ac551122d9
commit 4af20c65e6
14 files changed
+480 -335

No files matched your search

+1 -1
View File
@@ -1831,7 +1831,7 @@ namespace ZL
gameOver = true;
Environment::shipState.velocity = 0.0f;
std::cout << "Client: Lost connection to server\n";
menuManager.showGameOver(this->playerScore);
menuManager.showConnectionLost();
}
auto pending = networkClient->getPendingProjectiles();