Skip to content

Commit 4a0b96e

Browse files
committed
Mania Converter fix.
1 parent 4db2101 commit 4a0b96e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/states/PlayState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,10 +2377,10 @@ class PlayState extends MusicBeatState
23772377
noteColumn = Std.int(songNotes[1] % Note.ammo[SONG.mania != null ? SONG.mania : 3]);
23782378
}
23792379
else {
2380-
noteColumn = Std.int(songNotes[1] % Note.ammo[SONG.mania]);
2380+
noteColumn = Std.int(songNotes[1] % Note.ammo[SONG.mania != null ? SONG.mania : 3]);
23812381
}
23822382

2383-
var gottaHitNote:Bool = (songNotes[1] < totalColumns);
2383+
var gottaHitNote:Bool = (songNotes[1] < (SONG.mania != null ? totalColumns : Note.ammo[3]));
23842384
//if (songData.format.contains("mixtape_v1")) gottaHitNote = section.mustHitSection;
23852385

23862386
if (i != 0) {

0 commit comments

Comments
 (0)