1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +00:00

char select screen controls stuff

This commit is contained in:
Cameron Taylor 2024-07-08 16:30:17 -04:00
parent a92334d5ae
commit 57c995e19d

View file

@ -1,5 +1,6 @@
package funkin.ui.charSelect;
import funkin.ui.freeplay.FreeplayState;
import flixel.text.FlxText;
import funkin.ui.PixelatedIcon;
import flixel.system.debug.watch.Tracker.TrackerProfile;
@ -451,7 +452,12 @@ class CharSelectSubState extends MusicBeatSubState
pressedSelect = true;
selectTimer.start(1.5, (_) -> {
pressedSelect = false;
close();
FlxG.switchState(FreeplayState.build(
{
{
character: curChar
}
}));
});
}