aboutsummaryrefslogtreecommitdiff
path: root/src_testbed/camera2d.rs
diff options
context:
space:
mode:
authorjohnny-smitherson <127537716+johnny-smitherson@users.noreply.github.com>2023-10-23 16:21:07 +0000
committerjohnny-smitherson <127537716+johnny-smitherson@users.noreply.github.com>2023-10-23 16:39:52 +0000
commit780ba4a216aa9ef68d7f10db4a2b67b866699f43 (patch)
treef9be0e8ae1134f7ee6139eb34c39aa2c2d6a21aa /src_testbed/camera2d.rs
parent82416e3ca66dcdc34c0f350cec570ef1019a199f (diff)
downloadrapier-780ba4a216aa9ef68d7f10db4a2b67b866699f43.tar.gz
rapier-780ba4a216aa9ef68d7f10db4a2b67b866699f43.tar.bz2
rapier-780ba4a216aa9ef68d7f10db4a2b67b866699f43.zip
update bevy 0.11 - fix compile errors
Diffstat (limited to 'src_testbed/camera2d.rs')
-rw-r--r--src_testbed/camera2d.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src_testbed/camera2d.rs b/src_testbed/camera2d.rs
index ddac1ed..2f4de67 100644
--- a/src_testbed/camera2d.rs
+++ b/src_testbed/camera2d.rs
@@ -87,8 +87,8 @@ impl OrbitCameraPlugin {
}
impl Plugin for OrbitCameraPlugin {
fn build(&self, app: &mut App) {
- app.add_system(Self::mouse_motion_system)
- .add_system(Self::zoom_system)
- .add_system(Self::update_transform_system);
+ app.add_systems(Update, Self::mouse_motion_system)
+ .add_systems(Update, Self::zoom_system)
+ .add_systems(Update, Self::update_transform_system);
}
}