1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Allow confineMouseTracker to be null

This commit is contained in:
Shane Woolcock 2020-10-05 11:54:39 +10:30
parent 5859755886
commit a483dfd2d7

View File

@ -229,7 +229,7 @@ namespace osu.Game.Screens.Play
DrawableRuleset.HasReplayLoaded.BindValueChanged(_ => updatePauseOnFocusLostState(), true);
confineMouseTracker.OverlayActivationMode.BindTo(OverlayActivationMode);
confineMouseTracker?.OverlayActivationMode.BindTo(OverlayActivationMode);
// bind clock into components that require it
DrawableRuleset.IsPaused.BindTo(GameplayClockContainer.IsPaused);