From 2e4dbe48446cd80e80ba5722025db01082b667b8 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 17 Mar 2024 20:28:23 +0100 Subject: [PATCH] rename assets/restricted/ to assets/tmp/ --- src/audio.rs | 4 ++-- src/world.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/audio.rs b/src/audio.rs index d44d26b..6f984f5 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -14,7 +14,7 @@ pub fn setup( mut commands: Commands, asset_server: Res, ) { - let bgm = SoundBGM(asset_server.load("restricted/FTL - Faster Than Light (2012) OST - 12 - Void (Explore)-edQw2yYXQJM.ogg")); + let bgm = SoundBGM(asset_server.load("tmp/FTL - Faster Than Light (2012) OST - 12 - Void (Explore)-edQw2yYXQJM.ogg")); commands.spawn(( AudioBundle { source: bgm.0.clone(), @@ -32,7 +32,7 @@ pub fn setup( commands.spawn(( ComponentThrusterSound, AudioBundle { - source: asset_server.load("restricted/loopingthrust-95548.ogg"), + source: asset_server.load("tmp/loopingthrust-95548.ogg"), settings: PlaybackSettings { mode: PlaybackMode::Loop, paused: true, diff --git a/src/world.rs b/src/world.rs index 3bde359..7188701 100644 --- a/src/world.rs +++ b/src/world.rs @@ -114,7 +114,7 @@ pub fn setup( rotation: Quat::from_rotation_y(-PI / 3.), scale: Vec3::splat(5.0), }, - scene: asset_server.load("restricted/alien.glb#Scene0"), + scene: asset_server.load("tmp/alien.glb#Scene0"), ..default() });