mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Various updates to ruleset and primary key usages to move closer to realm support
This commit is contained in:
@ -78,7 +78,7 @@ namespace osu.Game.Input.Bindings
|
||||
{
|
||||
var defaults = DefaultKeyBindings.ToList();
|
||||
|
||||
if (ruleset != null && !ruleset.ID.HasValue)
|
||||
if (ruleset != null && !ruleset.IsManaged)
|
||||
// some tests instantiate a ruleset which is not present in the database.
|
||||
// in these cases we still want key bindings to work, but matching to database instances would result in none being present,
|
||||
// so let's populate the defaults directly.
|
||||
|
Reference in New Issue
Block a user