Refactor loading
This commit is contained in:
@@ -44,9 +44,7 @@ pub fn preprocess_keyboard_input(
|
||||
InputMapAction::MovementYDir(sign) => {
|
||||
input_frame.movement.y += (sign) * action_strength
|
||||
}
|
||||
InputMapAction::Jump => {
|
||||
input_frame.jump = action_strength != FGi32::ZERO
|
||||
},
|
||||
InputMapAction::Jump => input_frame.jump = action_strength != FGi32::ZERO,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user