it works
This commit is contained in:
parent
a298b6396d
commit
a0cec98aa7
8 changed files with 23 additions and 18 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue