From 40ed173b6070a88f2b392b1853de7b899f628d84 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 20 Aug 2024 15:53:43 -0700 Subject: [PATCH] physics: unused field --- src/physics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index 80da52a7..a3822082 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -922,7 +922,7 @@ impl VirtualBody<'_>{ pub struct PhysicsState{ time:Time, body:Body, - world:WorldState,//currently there is only one state the world can be in + _world:WorldState,//currently there is only one state the world can be in touching:TouchingState, //camera must exist in state because wormholes modify the camera, also camera punch camera:PhysicsCamera, @@ -959,7 +959,7 @@ impl Default for PhysicsState{ move_state:MoveState::Air, camera:PhysicsCamera::default(), input_state:InputState::default(), - world:WorldState{}, + _world:WorldState{}, mode_state:ModeState::default(), run:run::Run::new(), }