Fix placement blueprints not being correctly removed after a rolled back placement

This commit is contained in:
Dean Herbert
2021-04-16 14:10:21 +09:00
parent 5c0ef55691
commit 119c9b4294
5 changed files with 45 additions and 17 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
{
base.UpdateTimeAndPosition(result);
if (PlacementActive)
if (PlacementActive == PlacementState.Active)
{
if (result.Time is double endTime)
{

View File

@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
{
base.UpdateTimeAndPosition(result);
if (!PlacementActive)
if (PlacementActive == PlacementState.Waiting)
Column = result.Playfield as Column;
}
}