1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Fix some taiko maps not finishing in some conditions

I don't know how to reproduce this issue in a test, so no tests for now.
Nonetheless, this fixes the issue for me at least on one map:
https://osu.ppy.sh/beatmapsets/1899665#taiko/3915653

This workaround is similar to #16475 (the test from that commit got
eventually removed for some reason).
This commit is contained in:
chayleaf 2023-07-15 20:24:40 +07:00
parent 1868826d69
commit 7f957d3fbe

View File

@ -16,5 +16,13 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
: base(nestedHit) : base(nestedHit)
{ {
} }
public override void OnKilled()
{
base.OnKilled();
if (!Judged)
ApplyResult(r => r.Type = r.Judgement.MinResult);
}
} }
} }