disable map controls inside menu
This commit is contained in:
parent
6b6732bdec
commit
c861df0ab4
|
@ -41,7 +41,7 @@ impl Plugin for CameraPlugin {
|
|||
app.add_systems(PostUpdate, update_mapcam_center
|
||||
.before(sync::position_to_transform)
|
||||
.in_set(sync::SyncSet::PositionToTransform));
|
||||
app.add_systems(Update, update_map_camera.run_if(alive));
|
||||
app.add_systems(Update, update_map_camera.run_if(in_control));
|
||||
app.add_systems(Update, update_fov.run_if(alive));
|
||||
app.add_systems(PreUpdate, apply_input_to_player);
|
||||
app.insert_resource(MapCam::default());
|
||||
|
|
Loading…
Reference in a new issue