From 245ea286f44ebd88c1dcb758ab3d33e14ce371a2 Mon Sep 17 00:00:00 2001 From: ShenMian Date: Fri, 14 Jun 2024 18:31:59 +0800 Subject: [PATCH] docs: update FIXME comment to reflect correct AppState in mouse_input 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. --- src/systems/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/input.rs b/src/systems/input.rs index 833e4ed..c9ddf1f 100644 --- a/src/systems/input.rs +++ b/src/systems/input.rs @@ -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; }