mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Moved Bindable init
This commit is contained in:
parent
8b3477820f
commit
522034020e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user