1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 22:04:49 +08:00

Always perform leave room sequence

This commit is contained in:
Dan Balasescu
2025-12-11 20:07:36 +09:00
Unverified
parent 40fdb8662e
commit bbdd70c843
@@ -319,9 +319,6 @@ namespace osu.Game.Online.Multiplayer
public Task LeaveRoom()
{
if (Room == null)
return Task.CompletedTask;
// The join may have not completed yet, so certain tasks that either update the room or reference the room should be cancelled.
// This includes the setting of Room itself along with the initial update of the room settings on join.
joinCancellationSource?.Cancel();