mirror of
https://github.com/lightsoutgames/bevy_full_throttle
synced 2024-11-14 04:25:56 +00:00
Add dummy resource to avoid panics under non-Windows platforms.
This commit is contained in:
parent
013b5dccb4
commit
acbd405f51
|
@ -28,6 +28,8 @@ fn setup(mut commands: Commands) {
|
|||
commands.insert_resource(scheme);
|
||||
}
|
||||
}
|
||||
#[cfg(not(windows))]
|
||||
commands.insert_resource(DefaultScheme());
|
||||
}
|
||||
|
||||
#[allow(unused_variables)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user