mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 16:17:53 -05:00
mod menu thingie
This commit is contained in:
parent
180c3db3c4
commit
2fdea58951
1 changed files with 8 additions and 0 deletions
|
@ -32,11 +32,19 @@ class OptionsState extends MusicBeatState
|
||||||
var controls = addPage(Controls, new ControlsMenu());
|
var controls = addPage(Controls, new ControlsMenu());
|
||||||
var colors = addPage(Colors, new ColorsMenu());
|
var colors = addPage(Colors, new ColorsMenu());
|
||||||
|
|
||||||
|
#if cpp
|
||||||
|
var mods = addPage(Mods, new ModMenu());
|
||||||
|
#end
|
||||||
|
|
||||||
if (options.hasMultipleOptions())
|
if (options.hasMultipleOptions())
|
||||||
{
|
{
|
||||||
options.onExit.add(exitToMainMenu);
|
options.onExit.add(exitToMainMenu);
|
||||||
controls.onExit.add(switchPage.bind(Options));
|
controls.onExit.add(switchPage.bind(Options));
|
||||||
colors.onExit.add(switchPage.bind(Options));
|
colors.onExit.add(switchPage.bind(Options));
|
||||||
|
|
||||||
|
#if cpp
|
||||||
|
mods.onExit.add(switchPage.bind(Options));
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue