From 3797408bc87ba7d510aab9087fa726851cfcd77a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 7 Jan 2025 06:00:48 -0800 Subject: [PATCH] pull out named variables in checkpoint_check --- strafe-client/src/physics.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index e25e02c..51fbf94 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -1494,10 +1494,12 @@ fn checkpoint_check( stage_element:&gameplay_modes::StageElement, mode:&gameplay_modes::Mode, )->CheckpointCheckOutcome{ - if mode_state.get_stage_id()