Moved Bindable init

This commit is contained in:
Jorolf 2017-02-28 11:44:12 +01:00
parent 8b3477820f
commit 522034020e

View File

@ -73,6 +73,8 @@ namespace osu.Game.Screens.Play
private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuGameBase game, OsuConfigManager config)
{
dimLevel = config.GetBindable<int>(OsuConfig.DimLevel);
mouseWheelDisabled = config.GetBindable<bool>(OsuConfig.MouseDisableWheel);
try
{
if (Beatmap == null)
@ -160,8 +162,6 @@ namespace osu.Game.Screens.Play
scoreOverlay,
pauseOverlay
};
mouseWheelDisabled = config.GetBindable<bool>(OsuConfig.MouseDisableWheel);
}
private void initializeSkipButton()