Merge pull request #10677 from peppy/fix-catch-banana-animation

Fix osu!catch banana animation not playing due to incorrect lifetimes
This commit is contained in:
Bartłomiej Dach 2020-11-03 20:24:09 +01:00 committed by GitHub
commit 6437c33e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables
public abstract class DrawableCatchHitObject : DrawableHitObject<CatchHitObject>
{
protected override double InitialLifetimeOffset => HitObject.TimePreempt;
public virtual bool StaysOnPlate => HitObject.CanBePlated;
public float DisplayRadius => DrawSize.X / 2 * Scale.X * HitObject.Scale;