This commit is contained in:
Rorikstr | Rust Dev 2025-09-29 23:06:30 +03:00
parent a298b6396d
commit a0cec98aa7
8 changed files with 23 additions and 18 deletions

View file

@ -54,6 +54,8 @@ GameInfo_t updateCurrentState() {
LOG_FUNCTION_START("updateCurrentState", "");
GameState_t* state = get_game_state();
state->frame_count++;
// Обновляем логику игры только если игра не на паузе (кроме GameOver)
if (!state->info->pause || state->state == GameOver) {