Skip to content

Commit

Permalink
Fix cell status
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed Jan 24, 2024
1 parent f26c6a9 commit 4063883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ Cell::Status Cell::update()
rotate_start = 0;
if (rotate_twice) {
rotate(rotate_clockwise);
} else {
return Cell::RotationComplete;
}
return Cell::RotationComplete;
}
return Cell::RotationInProgress;
}
Expand Down
1 change: 0 additions & 1 deletion src/level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ void Level::update()
}
}
}
state.rotation_active |= state.rotation_complete;

// trace from sender
if (!get_cell(sender).rotation()) {
Expand Down

0 comments on commit 4063883

Please sign in to comment.