1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +08:00

Updated wording on realm comments

This commit is contained in:
QuantumSno 2023-08-10 10:17:12 -04:00
parent 5443f89dca
commit 71c42167e7

View File

@ -1021,11 +1021,11 @@ namespace osu.Game.Database
case 33:
{
// Get all current keybinds, and find the toggle chat bind
// (by default it used to overlap the new toggle leaderboard)
// (by default it would to overlap the new toggle leaderboard)
var newKeyBindings = migration.NewRealm.All<RealmKeyBinding>().ToList();
var toggleChatBind = newKeyBindings.FirstOrDefault(bind => bind.ActionInt == (int)GlobalAction.ToggleChatFocus);
// If we have a bind for it, and that bind is tab, remove it
// If we have a bind for it, and that bind is still tab, remove it
if (toggleChatBind != default && toggleChatBind.KeyCombination.Keys.SequenceEqual(new[] { InputKey.Tab }))
migration.NewRealm.Remove(toggleChatBind);