mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix ruleset value not being transferred when FinaliseSelection
is not called
This commit is contained in:
@ -619,6 +619,10 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public override void OnSuspending(IScreen next)
|
||||
{
|
||||
// Handle the case where FinaliseSelection is never called (ie. when a screen is pushed externally).
|
||||
// Without this, it's possible for a transfer to happen while we are not the current screen.
|
||||
transferRulesetValue();
|
||||
|
||||
ModSelect.SelectedMods.UnbindFrom(selectedMods);
|
||||
ModSelect.Hide();
|
||||
|
||||
|
Reference in New Issue
Block a user