mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix TestCaseHitObjects not working at all due to state being set before load is complete.
This commit is contained in:
@ -49,7 +49,6 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
DrawableHitCircle d = new DrawableHitCircle(h)
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Depth = i,
|
||||
State = ArmedState.Hit,
|
||||
Judgement = new OsuJudgementInfo { Result = HitResult.Hit }
|
||||
|
@ -43,7 +43,7 @@ namespace osu.Game.Modes.Objects.Drawables
|
||||
state = value;
|
||||
|
||||
UpdateState(state);
|
||||
|
||||
if (IsLoaded)
|
||||
Expire();
|
||||
|
||||
if (State == ArmedState.Hit)
|
||||
|
Reference in New Issue
Block a user