fix SPACE key not working during SkyRace minigame

This commit is contained in:
yuni 2024-11-20 02:57:44 +01:00
parent acce4e0231
commit 4b16bd377d

View file

@ -193,6 +193,7 @@ pub fn setup(
bevy::pbr::NotShadowReceiver, bevy::pbr::NotShadowReceiver,
Position::default(), Position::default(),
actor::WantsToLookAt(cmd::ID_SPECIAL_PLAYERCAM.to_string()), actor::WantsToLookAt(cmd::ID_SPECIAL_PLAYERCAM.to_string()),
visual::IsEffect,
LinearVelocity::default(), LinearVelocity::default(),
SpatialBundle { SpatialBundle {
transform: Transform::from_scale(Vec3::splat(RACE_TARGET_RADIUS as f32)), transform: Transform::from_scale(Vec3::splat(RACE_TARGET_RADIUS as f32)),