mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 17:22:54 +08:00
Merge branch 'rework-hitobject-blueprints' into hoc-event-queue
This commit is contained in:
commit
efe2a956df
@ -22,8 +22,8 @@ namespace osu.Game.Rulesets.Mania.Edit
|
|||||||
|
|
||||||
public override bool HandleMovement(MoveSelectionEvent<HitObject> moveEvent)
|
public override bool HandleMovement(MoveSelectionEvent<HitObject> moveEvent)
|
||||||
{
|
{
|
||||||
var maniaBlueprint = (HitObjectSelectionBlueprint<ManiaHitObject>)moveEvent.Blueprint;
|
var hitObjectBlueprint = (HitObjectSelectionBlueprint)moveEvent.Blueprint;
|
||||||
int lastColumn = maniaBlueprint.HitObject.Column;
|
int lastColumn = ((ManiaHitObject)hitObjectBlueprint.Item).Column;
|
||||||
|
|
||||||
performColumnMovement(lastColumn, moveEvent);
|
performColumnMovement(lastColumn, moveEvent);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user