Skip to content

Commit

Permalink
fix visible gf in unlock sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeMaru committed Sep 23, 2024
1 parent 0f4b7c9 commit cff51c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/funkin/ui/charSelect/CharSelectSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ class CharSelectSubState extends MusicBeatSubState

nametag.switchChar(char);
gfChill.switchGF(char);
playerChill.switchChar(char);
gfChill.visible = true;

playerChill.switchChar(char);
playerChill.playAnimation("unlock");
playerChill.visible = true;

Expand Down Expand Up @@ -808,12 +809,10 @@ class CharSelectSubState extends MusicBeatSubState
{
if (validChar)
{
gfChill.visible = true;
curChar = availableChars.get(getCurrentSelected());
}
else
{
gfChill.visible = false;
curChar = "locked";
}
}
Expand Down Expand Up @@ -1070,6 +1069,7 @@ class CharSelectSubState extends MusicBeatSubState
nametag.switchChar(value);
playerChill.switchChar(value);
gfChill.switchGF(value);
gfChill.visible = value != "locked";

playerChillOut.visible = true;
playerChillOut.switchChar(lastChar);
Expand Down

0 comments on commit cff51c2

Please sign in to comment.