mirror of
https://github.com/ppy/osu.git
synced 2025-03-11 01:07:23 +08:00
Merge pull request #32111 from bdach/prevent-closing-team-channels-harder
Prevent closing team chat channels via Ctrl-W
This commit is contained in:
commit
66b8b527e3
@ -228,7 +228,8 @@ namespace osu.Game.Overlays
|
||||
return true;
|
||||
|
||||
case PlatformAction.DocumentClose:
|
||||
channelManager.LeaveChannel(currentChannel.Value);
|
||||
if (currentChannel.Value?.Type != ChannelType.Team)
|
||||
channelManager.LeaveChannel(currentChannel.Value);
|
||||
return true;
|
||||
|
||||
case PlatformAction.TabRestore:
|
||||
|
Loading…
x
Reference in New Issue
Block a user