cleanup
This commit is contained in:
parent
89cd374d9e
commit
36cad88e77
|
@ -156,7 +156,6 @@ pub fn update_map_camera(
|
||||||
q_target_changed: Query<(), Changed<hud::IsTargeted>>,
|
q_target_changed: Query<(), Changed<hud::IsTargeted>>,
|
||||||
mut mouse_events: EventReader<MouseMotion>,
|
mut mouse_events: EventReader<MouseMotion>,
|
||||||
mut er_mousewheel: EventReader<MouseWheel>,
|
mut er_mousewheel: EventReader<MouseWheel>,
|
||||||
mut ew_sfx: EventWriter<audio::PlaySfxEvent>,
|
|
||||||
keyboard_input: Res<ButtonInput<KeyCode>>,
|
keyboard_input: Res<ButtonInput<KeyCode>>,
|
||||||
) {
|
) {
|
||||||
if !settings.map_active || q_camera.is_empty() || q_playercam.is_empty() {
|
if !settings.map_active || q_camera.is_empty() || q_playercam.is_empty() {
|
||||||
|
|
Loading…
Reference in a new issue