Skip to content

Commit

Permalink
the "3 minutes after release" hotfix
Browse files Browse the repository at this point in the history
bruh
  • Loading branch information
JordanSantiagoYT committed Mar 8, 2024
1 parent 947f735 commit 611ea32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion THECHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
1.21.0;
1.21.1;

Fixed Color Quants crashing the game if there were no notes on screen

The chart loading system has been rewritten! As a result charts now load a LOT faster!
The Gapple 1.5 tween is now smoother
Expand Down
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5346,7 +5346,7 @@ if (ClientPrefs.showNPS && (notesHitDateArray.length > 0 || oppNotesHitDateArray

if(!isPixelStage)
{
if (ClientPrefs.noteColorStyle == 'Quant-Based' && ClientPrefs.enableColorShader)
if (ClientPrefs.noteColorStyle == 'Quant-Based' && ClientPrefs.enableColorShader && notes.members[Std.int(notes.length-1)] != null && dunceNote.noteData == notes.members[Std.int(notes.length-1)].noteData)
{
dunceNote.colorSwap.hue = notes.members[Std.int(notes.length-1)].colorSwap.hue;
dunceNote.colorSwap.saturation = notes.members[Std.int(notes.length-1)].colorSwap.saturation;
Expand Down

0 comments on commit 611ea32

Please sign in to comment.