mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Hacky way to make osu! and taiko work again.
This commit is contained in:
parent
63b61ce669
commit
29941019a5
@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
|
||||
UpdatePreemptState();
|
||||
|
||||
var offset = Time.Current - ((HitObject as IHasEndTime)?.EndTime ?? HitObject.StartTime);
|
||||
var offset = !AllJudged ? 0 : Time.Current - ((HitObject as IHasEndTime)?.EndTime ?? HitObject.StartTime);
|
||||
using (BeginDelayedSequence(TIME_PREEMPT + offset, true))
|
||||
UpdateCurrentState(state);
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
var circlePiece = MainPiece as CirclePiece;
|
||||
circlePiece?.FlashBox.FinishTransforms();
|
||||
|
||||
var offset = Time.Current - HitObject.StartTime;
|
||||
var offset = !AllJudged ? 0 : Time.Current - HitObject.StartTime;
|
||||
using (BeginDelayedSequence(HitObject.StartTime - Time.Current + offset, true))
|
||||
{
|
||||
switch (State)
|
||||
|
@ -172,7 +172,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
const float preempt = 100;
|
||||
const float out_transition_time = 300;
|
||||
|
||||
var offset = Time.Current - HitObject.EndTime;
|
||||
var offset = !AllJudged ? 0 : Time.Current - HitObject.EndTime;
|
||||
double untilStartTime = HitObject.StartTime - Time.Current;
|
||||
double untilJudgement = untilStartTime + offset + HitObject.Duration;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user