diff --git a/source/funkin/game/NoteGroup.hx b/source/funkin/game/NoteGroup.hx index 546f2bbe..97b34da6 100644 --- a/source/funkin/game/NoteGroup.hx +++ b/source/funkin/game/NoteGroup.hx @@ -71,6 +71,13 @@ class NoteGroup extends FlxTypedGroup { @:privateAccess FlxCamera._defaultCameras = oldDefaultCameras; } + /** + * Gets the correct order of notes + **/ + public function get(id:Int) { + return members[length - 1 - id]; + } + public override function forEach(noteFunc:Note->Void, recursive:Bool = false) { i = length-1; __loopSprite = null;