Skip to content

Commit

Permalink
fixed credit bug missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Jun 25, 2024
1 parent b624852 commit 5d0f938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
Binary file removed assets/preload/images/credits/guineapig.png
Binary file not shown.
17 changes: 3 additions & 14 deletions source/funkin/game/states/CreditsState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ class CreditsState extends MusicBeatState
'https://github.com/Hackx2',
'BA7EFF'
],
[
'GuineaPigUuhh',
'guineapig',
'Ex-Programmer of Astro Engine',
'https://github.com/GuineaPigUuhh',
'FFFFFF'
],
[''],
['Psych Engine Team'],
[
Expand Down Expand Up @@ -130,7 +123,7 @@ class CreditsState extends MusicBeatState
],
[
'shubs',
'',
'icon',
'Ex-Programmer of Psych Engine\nI don\'t support them.',
'',
'A1A1A1'
Expand Down Expand Up @@ -254,15 +247,11 @@ class CreditsState extends MusicBeatState
Paths.currentModDirectory = creditsStuff[i][5];
}

// var icon:AttachedSprite = new AttachedSprite('credits/' + creditsStuff[i][1]);

// i stole from shadowmario
var str:String = 'credits/nullObj';
if (creditsStuff[i][1] == "face")
str = 'credits/nullObj';
if (Paths.image('credits/' + creditsStuff[i][1]) != null)
if (creditsStuff[i][1] != 'face' && Paths.image('credits/' + creditsStuff[i][1]) != null)
str = 'credits/' + creditsStuff[i][1];


var icon:AttachedSprite = new AttachedSprite(str);
icon.xAdd = optionText.width + 10;
icon.sprTracker = optionText;
Expand Down

0 comments on commit 5d0f938

Please sign in to comment.