Skip to content

Commit

Permalink
Fix touch input override
Browse files Browse the repository at this point in the history
  • Loading branch information
phisn committed Mar 28, 2024
1 parent ccb5318 commit 3c9c0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rust-game/src/player_plugin/input/touch_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ pub fn touch_input(
}
}

frame_input.thrust = state.thrust_index.is_some();
frame_input.thrust = frame_input.thrust || state.thrust_index.is_some();
frame_input.rotation += state.total_rotation;
}

0 comments on commit 3c9c0b3

Please sign in to comment.