Skip to content

Commit

Permalink
lololo
Browse files Browse the repository at this point in the history
idk what to put here
  • Loading branch information
JordanSantiagoYT committed Dec 24, 2024
1 parent 89fcd72 commit c9f907c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4530,7 +4530,7 @@ class PlayState extends MusicBeatState
if ((i.player == 0 ? dadNoteskin : bfNoteskin) != null)
{
i.updateNoteSkin(i.player == 0 ? dadNoteskin : bfNoteskin);
i.useRGBShader = false;
i.useRGBShader = (i.player == 0 ? dadNoteskin : bfNoteskin).length < 1;
}
}
if (ClientPrefs.noteColorStyle == 'Char-Based')
Expand Down
5 changes: 1 addition & 4 deletions source/StrumNote.hx
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ 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();
useRGBShader = true;
}
else texture = "noteskins/NOTE_assets" + Note.getNoteSkinPostfix();
}
public function updateRGBColors(?r:FlxColor, ?g:FlxColor, ?b:FlxColor) {
if (rgbShader != null)
Expand Down
7 changes: 1 addition & 6 deletions source/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4363,15 +4363,10 @@ class ChartingState extends MusicBeatState
Paths.splashConfigs.clear();
Paths.splashAnimCountMap.clear();
Note.globalRgbShaders = [];
FlxG.autoPause = ClientPrefs.autoPause;

super.destroy();
}

override function startOutro(onOutroComplete:()->Void):Void
{
FlxG.autoPause = ClientPrefs.autoPause;
onOutroComplete();
}
}

class AttachedFlxText extends FlxText
Expand Down

0 comments on commit c9f907c

Please sign in to comment.