Skip to content

Commit

Permalink
docs: update FIXME comment to reflect correct AppState in mouse_input
Browse files Browse the repository at this point in the history
The FIXME comment in the mouse_input function incorrectly referenced
AppState::AutoBoxPush instead of AppState::AutoMove. This commit corrects
the comment to match the actual state transition that occurs.
  • Loading branch information
ShenMian committed Jun 14, 2024
1 parent cfce794 commit 245ea28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systems/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ pub fn mouse_input(
&& board.level.box_positions().contains(&grid_position)
{
// box_position = grid_position;
// FIXME: Re-entering AppState::AutoBoxPush https://github.com/bevyengine/bevy/issues/9130 https://github.com/bevyengine/bevy/pull/13579
// next_state.set(AppState::AutoBoxPush);
// FIXME: Re-entering AppState::AutoMove https://github.com/bevyengine/bevy/issues/9130 https://github.com/bevyengine/bevy/pull/13579
// next_state.set(AppState::AutoMove);
next_state.set(AppState::Main);
return;
}
Expand Down

0 comments on commit 245ea28

Please sign in to comment.