mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
fmt
This commit is contained in:
@@ -151,6 +151,7 @@ pub fn start(init: InitParams, mode: StudioMode, window_config: Option<Window>)
|
||||
let mut app = App::new();
|
||||
|
||||
app.insert_resource(mode);
|
||||
app.insert_resource(bevy::winit::WinitSettings::game());
|
||||
|
||||
app.add_plugins((
|
||||
#[cfg(feature = "wasm")]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use bevy::{
|
||||
asset::{DependencyLoadState, LoadState, RecursiveDependencyLoadState},
|
||||
asset::{DependencyLoadState, LoadState},
|
||||
core_pipeline::{
|
||||
bloom::{BloomCompositeMode, BloomPrefilterSettings, BloomSettings},
|
||||
fxaa::Fxaa,
|
||||
@@ -216,7 +216,7 @@ fn check_loading(
|
||||
info!("Loading {} assets", loading_queue.queue.len());
|
||||
|
||||
loading_queue.queue.retain(|h| {
|
||||
if let Some((load_state, dep_load_state, rec_load_state)) =
|
||||
if let Some((load_state, dep_load_state, _)) =
|
||||
asset_server.get_load_states(h.id())
|
||||
{
|
||||
if load_state == LoadState::NotLoaded {
|
||||
|
||||
Reference in New Issue
Block a user