diff --git a/src/game.rs b/src/game.rs index 1c7840b..55253f8 100644 --- a/src/game.rs +++ b/src/game.rs @@ -414,6 +414,7 @@ fn handle_cheats( } if key_input.just_pressed(settings.key_cheat_teleport) { if let Ok((transform, target_pos, target_v)) = q_target.get_single() { + gforce.ignore_gforce_seconds = 1.0; let offset: DVec3 = 4.0 * (**pos - **target_pos).normalize() * transform.scale.as_dvec3(); pos.0 = **target_pos + offset;