Skip to content

Commit

Permalink
oops forgot to make it switch useRGBShader
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSantiagoYT committed Dec 23, 2024
1 parent d0a2a77 commit 89fcd72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/StrumNote.hx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ class StrumNote extends FlxSprite
public function updateNoteSkin(noteskin:String) {
if (texture == "noteskins/" + noteskin || noteskin == ogNoteskin || texture == noteskin) return; //if the noteskin to change to is the same as before then don't update it
if (noteskin != null && noteskin.length > 0) texture = "noteskins/" + noteskin;
else texture = "noteskins/NOTE_assets" + Note.getNoteSkinPostfix();
else {
texture = "noteskins/NOTE_assets" + Note.getNoteSkinPostfix();
useRGBShader = true;
}
}
public function updateRGBColors(?r:FlxColor, ?g:FlxColor, ?b:FlxColor) {
if (rgbShader != null)
Expand Down

0 comments on commit 89fcd72

Please sign in to comment.