mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Fix ComposeBlueprintContainer
briefly assigning auto
bank
Seems to have had no consequence due to the way `AutomaticBankAssignment` works (that flag is checked in `PlacementBlueprint.UpdateTimeAndPosition()`, which runs essentially every frame), but let's avoid putting it there at all ever.
This commit is contained in:
parent
adee624a8f
commit
7d8f08c0ea
@ -203,7 +203,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
if (bankName == EditorSelectionHandler.HIT_BANK_AUTO)
|
||||
CurrentPlacement.AutomaticBankAssignment = state == TernaryState.True;
|
||||
if (state == TernaryState.True)
|
||||
else if (state == TernaryState.True)
|
||||
CurrentPlacement.HitObject.Samples = CurrentPlacement.HitObject.Samples.Select(s => s.With(newBank: bankName)).ToList();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user