mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Allow Apply() to be called multiple times sequentially
This commit is contained in:
@ -191,6 +191,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
/// <param name="hitObject"></param>
|
||||
public virtual void Apply(HitObject hitObject)
|
||||
{
|
||||
if (HitObject != null)
|
||||
FreeAfterUse();
|
||||
|
||||
HitObject = hitObject;
|
||||
|
||||
// Copy any existing result from the hitobject (required for rewind / judgement revert).
|
||||
|
Reference in New Issue
Block a user