events dragging fix hopefully

This commit is contained in:
lunarcleint
2023-08-22 15:28:38 -07:00
parent 6eeca4902b
commit 5d97b58b42
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1077,7 +1077,7 @@ class Charter extends UIState {
CNote(note.step - minStep, note.id, note.susLength, note.type);
} else if (s is CharterEvent) {
var event = cast(s,CharterEvent);
CEvent(event.step - minStep, event.events);
CEvent(event.step - minStep, [for (event in event.events) Reflect.copy(event)]);
}
];
}
-1
View File
@@ -693,7 +693,6 @@ class PlayState extends MusicBeatState
health = maxHealth / 2;
iconP1 = new HealthIcon(boyfriend != null ? boyfriend.getIcon() : "face", true);
iconP2 = new HealthIcon(dad != null ? dad.getIcon() : "face", false);
for(icon in [iconP1, iconP2]) {