mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-07-03 09:06:49 +00:00
char select screen controls stuff
This commit is contained in:
parent
a92334d5ae
commit
57c995e19d
|
@ -1,5 +1,6 @@
|
||||||
package funkin.ui.charSelect;
|
package funkin.ui.charSelect;
|
||||||
|
|
||||||
|
import funkin.ui.freeplay.FreeplayState;
|
||||||
import flixel.text.FlxText;
|
import flixel.text.FlxText;
|
||||||
import funkin.ui.PixelatedIcon;
|
import funkin.ui.PixelatedIcon;
|
||||||
import flixel.system.debug.watch.Tracker.TrackerProfile;
|
import flixel.system.debug.watch.Tracker.TrackerProfile;
|
||||||
|
@ -451,7 +452,12 @@ class CharSelectSubState extends MusicBeatSubState
|
||||||
pressedSelect = true;
|
pressedSelect = true;
|
||||||
selectTimer.start(1.5, (_) -> {
|
selectTimer.start(1.5, (_) -> {
|
||||||
pressedSelect = false;
|
pressedSelect = false;
|
||||||
close();
|
FlxG.switchState(FreeplayState.build(
|
||||||
|
{
|
||||||
|
{
|
||||||
|
character: curChar
|
||||||
|
}
|
||||||
|
}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue