Skip to content

Commit

Permalink
Fixes hack in audio_assets_loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
mnmaita committed Nov 11, 2023
1 parent 480fb66 commit fb40f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,5 @@ fn update_sound_effect_assets_load_state(
}

pub fn audio_assets_loaded() -> impl Condition<()> {
resource_equals(AudioLoadStates::LOADED).or_else(|| false)
IntoSystem::into_system(resource_equals(AudioLoadStates::LOADED))
}

0 comments on commit fb40f51

Please sign in to comment.