From 2fdea58951033992137997e59eddd427d149be47 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 24 Mar 2021 19:19:08 -0400 Subject: [PATCH] mod menu thingie --- source/ui/OptionsState.hx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/ui/OptionsState.hx b/source/ui/OptionsState.hx index 283cbc85f..3459c9b1b 100644 --- a/source/ui/OptionsState.hx +++ b/source/ui/OptionsState.hx @@ -32,11 +32,19 @@ class OptionsState extends MusicBeatState var controls = addPage(Controls, new ControlsMenu()); var colors = addPage(Colors, new ColorsMenu()); + #if cpp + var mods = addPage(Mods, new ModMenu()); + #end + if (options.hasMultipleOptions()) { options.onExit.add(exitToMainMenu); controls.onExit.add(switchPage.bind(Options)); colors.onExit.add(switchPage.bind(Options)); + + #if cpp + mods.onExit.add(switchPage.bind(Options)); + #end } else {