1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

Remove editor functionality from VirtualBeatmapTrack

/shrug
This commit is contained in:
smoogipoo 2018-06-28 11:47:41 +09:00
parent 87e8074cd2
commit 2f2bd59844

View File

@ -16,21 +16,7 @@ namespace osu.Game.Beatmaps
{
private const double excess_length = 1000;
private readonly IBeatmap beatmap;
public VirtualBeatmapTrack(IBeatmap beatmap)
{
this.beatmap = beatmap;
updateVirtualLength();
}
protected override void UpdateState()
{
updateVirtualLength();
base.UpdateState();
}
private void updateVirtualLength()
{
var lastObject = beatmap.HitObjects.LastOrDefault();