Skip to content

Commit

Permalink
Update StrumNote.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Mar 4, 2024
1 parent a788174 commit f574a20
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/game/StrumNote.hx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ class StrumNote extends FlxSkewedSprite

if(Options.getData("customNoteColors"))
noteColor = NoteColors.getNoteColor(NoteVariables.Other_Note_Anim_Stuff[keyCount - 1][noteData]);

colorSwap.r = noteColor[0];
colorSwap.g = noteColor[1];
colorSwap.b = noteColor[2];
if (noteColor != null){
colorSwap.r = noteColor[0];
colorSwap.g = noteColor[1];
colorSwap.b = noteColor[2];
}
}
}

Expand Down

0 comments on commit f574a20

Please sign in to comment.