Skip to content

Commit

Permalink
revert that for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jun 20, 2024
1 parent 4cd6961 commit d2d7017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/objects/userinterface/note/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ class Note extends FlxSprite
if(texture.length < 1) {
skin = PlayState.SONG.arrowSkin;
if(skin == null || skin.length < 1) {
skin = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}';
/* skin = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}';
}
if(ClientPrefs.noteSkin == null) {
if(ClientPrefs.noteSkin == null) {*/
skin = 'NOTE_assets';
}
}
Expand All @@ -278,11 +278,13 @@ class Note extends FlxSprite
defaultWidth = 157;
defaultHeight = 154;
if(PlayState.isPixelStage) {
/*
if (FileSystem.exists(Paths.modFolders('images/pixelUI/$blahblah.png')) && FileSystem.exists(Paths.modFolders('images/pixelUI/' + blahblah + 'ENDS.png'))) {
blahblah = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}';
} else {
blahblah = 'NOTE_assets';
}
*/
if(isSustainNote) {
loadGraphic(Paths.image('pixelUI/' + blahblah + 'ENDS'));
width = width / 4;
Expand Down
2 changes: 2 additions & 0 deletions source/objects/userinterface/note/StrumNote.hx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class StrumNote extends FlxSprite
super(x, y);

var skin:String = 'NOTE_assets';
/*
if (PlayState.SONG.arrowSkin == null || PlayState.SONG.arrowSkin.length <= 1) {
if (ClientPrefs.noteSkin == 'Default') {
skin = 'NOTE_assets';
Expand All @@ -44,6 +45,7 @@ class StrumNote extends FlxSprite
skin = 'NOTE_assets'; // to prevent crashes
}
}
*/
if(PlayState.SONG.arrowSkin != null && PlayState.SONG.arrowSkin.length > 1) skin = PlayState.SONG.arrowSkin;
shader = colorMask.shader;
texture = skin; //Load texture and anims
Expand Down

0 comments on commit d2d7017

Please sign in to comment.