toc
This commit is contained in:
parent
3c516badd4
commit
265f2a2c70
@ -27,7 +27,7 @@ impl WindowContext<'_>{
|
||||
match event{
|
||||
winit::event::WindowEvent::DroppedFile(_path)=>{
|
||||
//match crate::file::load_file(path.as_path()){
|
||||
let data=include_bytes!("/run/media/quat/Files/Documents/map-files/verify-scripts/maps/bhop_snfm/5692113331.snfm");
|
||||
let data=include_bytes!("/run/media/quat/Files/Documents/map-files/verify-scripts/maps/bhop_snfm/5692152916.snfm");
|
||||
match crate::file::load(std::io::Cursor::new(data.as_slice())){
|
||||
Ok(map)=>self.physics_thread.send(TimedInstruction{time,instruction:crate::physics_worker::Instruction::ChangeMap(map)}).unwrap(),
|
||||
Err(e)=>println!("Failed to load map: {e}"),
|
||||
|
Loading…
Reference in New Issue
Block a user