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:
parent
a92334d5ae
commit
57c995e19d
|
@ -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
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue