added TODO for future improvement

The `sound_samples_update_volume` should be called by in-game volume
slider event handler instead.
master
PaprikaX33 2019-09-16 20:08:43 +07:00
parent 382c856204
commit 610ee68cfb
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ int game_update(Game *game, float delta_time)
return -1;
}
//TODO: Move this function somewhere else to allow volume adjustment in game
sound_samples_update_volume(game->sound_samples, level_picker_get_volume(game->level_picker));
game_switch_state(game, GAME_STATE_LEVEL);
}