@@ -1130,7 +1130,6 @@ class ChartingState extends MusicBeatState
11301130 {
11311131 var strum = note [0 ] + Conductor .stepCrochet * (getSectionBeats (daSec ) * 4 * value );
11321132
1133-
11341133 var copiedNote : Array <Dynamic > = [strum , note [1 ], note [2 ], note [3 ]];
11351134 _song .notes [daSec ].sectionNotes .push (copiedNote );
11361135 }
@@ -1294,8 +1293,9 @@ class ChartingState extends MusicBeatState
12941293 {
12951294 var strum = note [0 ] + Conductor .stepCrochet * (getSectionBeats (daSec - value1 ) * 4 * value1 );
12961295
1297- if (swapNotes ) note [1 ] = (note [1 ] + 4 ) % 8 ;
1298- var copiedNote : Array <Dynamic > = [strum , note [1 ], note [2 ], note [3 ]];
1296+ var data = note [1 ];
1297+ if (swapNotes ) data = Std .int (note [1 ] + 4 ) % 8 ;
1298+ var copiedNote : Array <Dynamic > = [strum , data , note [2 ], note [3 ]];
12991299 inline _song .notes [daSec ].sectionNotes .push (copiedNote );
13001300 }
13011301 if (curSection - value1 < 0 )
@@ -1338,8 +1338,9 @@ class ChartingState extends MusicBeatState
13381338 {
13391339 var strum = note [0 ] + Conductor .stepCrochet * (getSectionBeats (curSec - 1 ) * 4 );
13401340
1341- if (swapNotes ) note [1 ] = (note [1 ] + 4 ) % 8 ;
1342- var copiedNote : Array <Dynamic > = [strum , note [1 ], note [2 ], note [3 ]];
1341+ var data = note [1 ];
1342+ if (swapNotes ) data = Std .int (note [1 ] + 4 ) % 8 ;
1343+ var copiedNote : Array <Dynamic > = [strum , data , note [2 ], note [3 ]];
13431344 _song .notes [curSec ].sectionNotes .push (copiedNote );
13441345 }
13451346 }
0 commit comments