From 2a7dbbe3e485e74e5a2f5e484244c3c3e7155ffc Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Sat, 18 Jan 2025 00:31:23 -0800 Subject: [PATCH] fix err msg --- strafe-client/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strafe-client/src/window.rs b/strafe-client/src/window.rs index c1b5a96..6af6911 100644 --- a/strafe-client/src/window.rs +++ b/strafe-client/src/window.rs @@ -32,7 +32,7 @@ impl WindowContext<'_>{ match crate::file::load(path.as_path()){ Ok(Format2::Map(map))=>self.physics_thread.send(TimedInstruction{time,instruction:PhysicsWorkerInstruction::ChangeMap(map)}).unwrap(), Ok(Format2::Bot(bot))=>self.physics_thread.send(TimedInstruction{time,instruction:PhysicsWorkerInstruction::LoadReplay(bot)}).unwrap(), - Err(e)=>println!("Failed to load map: {e}"), + Err(e)=>println!("Failed to load file: {e}"), } }, winit::event::WindowEvent::Focused(state)=>{