From ce43d9408612dce05adcd4455179cb5f57091d2b Mon Sep 17 00:00:00 2001 From: Anthony Tornetta Date: Tue, 10 Dec 2024 19:30:43 -0500 Subject: [PATCH] Silencing warnings --- cosmos_client/src/universe/map/mod.rs | 2 +- cosmos_client/src/window/setup.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmos_client/src/universe/map/mod.rs b/cosmos_client/src/universe/map/mod.rs index d58a0240..0e976d0e 100644 --- a/cosmos_client/src/universe/map/mod.rs +++ b/cosmos_client/src/universe/map/mod.rs @@ -431,7 +431,7 @@ fn render_galaxy_map( // cam_trans.look_at(player_translation, Vec3::Y); let font = asset_server.load("fonts/PixeloidSans.ttf"); - let text_style = TextFont { + let _text_style = TextFont { font_size: 22.0, font: font.clone(), ..Default::default() diff --git a/cosmos_client/src/window/setup.rs b/cosmos_client/src/window/setup.rs index 67dd3f88..f5c7dd19 100644 --- a/cosmos_client/src/window/setup.rs +++ b/cosmos_client/src/window/setup.rs @@ -117,7 +117,7 @@ pub enum CursorFlagsSet { ApplyCursorFlagsUpdates, } -fn create_debug(commands: Commands) { +fn create_debug(_commands: Commands) { // commands.spawn(PerfUiBundle::default()); }