Commit 0748a14
Fix Autopilot cursor logic and unblock CI
Improve Autopilot cursor movement:
- Initialize `currentFrame` to -1 and reset it in `ApplyToDrawableRuleset` to prevent stale indices when Mod instances are reused (fixing a crash on shorter replays).
- Implement "pause" logic: Override cursor position to stay on hit objects until judged, mimicking osu!stable behavior.
- Add checks for empty `replayFrames` in `OsuModAutopilot.Update` to prevent `IndexOutOfRangeException` on empty beatmaps.
Maintenance:
- Rename `backpopulateUserTags` to `BackpopulateUserTags` (protected virtual) in `BackgroundDataStoreProcessor.cs` to resolve IDE1006 naming violation and unblock the "Code Quality" CI check. This change is technically unrelated but necessary for a green build in the current environment.
Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>1 parent 44115f6 commit 0748a14
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
0 commit comments