Skip to content

Commit

Permalink
Update osu and fix Autoplay
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Jul 23, 2020
1 parent 532283e commit e4fcf04
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
19 changes: 8 additions & 11 deletions osu.Game.Rulesets.Tau/Replays/TauFramedReplayInputHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,16 @@ protected Vector2 Position
}
}

public override List<IInput> GetPendingInputs()
public override void CollectPendingInputs(List<IInput> inputs)
{
return new List<IInput>
inputs.Add(new MousePositionAbsoluteInput
{
new MousePositionAbsoluteInput
{
Position = GamefieldToScreenSpace(Position),
},
new ReplayState<TauAction>
{
PressedActions = CurrentFrame?.Actions ?? new List<TauAction>(),
}
};
Position = GamefieldToScreenSpace(Position),
});
inputs.Add(new ReplayState<TauAction>
{
PressedActions = CurrentFrame?.Actions ?? new List<TauAction>(),
});
}
}
}
8 changes: 4 additions & 4 deletions osu.Game.Rulesets.Tau/osu.Game.Rulesets.Tau.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<AssemblyName>osu.Game.Rulesets.Tau</AssemblyName>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\**" />
<EmbeddedResource Include="Resources\**"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2020.714.0" />
<PackageReference Include="ppy.osu.Game" Version="2020.723.0"/>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\Samples\Gameplay" />
<Folder Include="Resources\Textures" />
<Folder Include="Resources\Samples\Gameplay"/>
<Folder Include="Resources\Textures"/>
</ItemGroup>
</Project>

0 comments on commit e4fcf04

Please sign in to comment.