1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Minor changes to pass the AppVeyor test

This commit is contained in:
Tav TaOr 2019-05-12 15:00:59 +03:00
parent d229fed128
commit 2051be7453

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Osu.Mods
private OsuInputManager inputManager;
private List<OsuReplayFrame> replayFrames;
private int frameIndex = 0;
private int frameIndex;
public void Update(Playfield playfield)
{
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Osu.Mods
{
// If we are, move to the next frame, and update the mouse position
frameIndex++;
new MousePositionAbsoluteInput() { Position = playfield.ToScreenSpace(replayFrames[frameIndex].Position) }.Apply(inputManager.CurrentState, inputManager);
new MousePositionAbsoluteInput { Position = playfield.ToScreenSpace(replayFrames[frameIndex].Position) }.Apply(inputManager.CurrentState, inputManager);
}
// TODO: Implement the functionality to automatically spin spinners