File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change
1
+ # RIGHT NOW THE MODS FOLDER DOES NOT WORK ENTIRELY JUST YET!!!
2
+ ## THIS IS WORK IN PROGRESS!!!
3
+
1
4
# QUICK AND DIRTY MOD GUIDE
2
5
3
6
With the 0.2.6 update, I added a bit of a slightly nicer mod support backend.
Original file line number Diff line number Diff line change @@ -664,10 +664,13 @@ class ChartingState extends MusicBeatState
664
664
665
665
function changeNoteSustain (value : Float ): Void
666
666
{
667
- if (curSelectedNote [ 2 ] != null )
667
+ if (curSelectedNote != null )
668
668
{
669
- curSelectedNote [2 ] + = value ;
670
- curSelectedNote [2 ] = Math .max (curSelectedNote [2 ], 0 );
669
+ if (curSelectedNote [2 ] != null )
670
+ {
671
+ curSelectedNote [2 ] + = value ;
672
+ curSelectedNote [2 ] = Math .max (curSelectedNote [2 ], 0 );
673
+ }
671
674
}
672
675
673
676
updateNoteUI ();
@@ -796,7 +799,8 @@ class ChartingState extends MusicBeatState
796
799
797
800
function updateNoteUI (): Void
798
801
{
799
- stepperSusLength .value = curSelectedNote [2 ];
802
+ if (curSelectedNote != null )
803
+ stepperSusLength .value = curSelectedNote [2 ];
800
804
}
801
805
802
806
function updateGrid (): Void
You can’t perform that action at this time.
0 commit comments