mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Move default function specifications to OsuConfigManager
This ensures that running tests in release configuration will not fail due to the same issue being fixed in this PR.
This commit is contained in:
parent
f09a4e9c5b
commit
ac914878b8
@ -14,8 +14,6 @@ namespace osu.Game.Configuration
|
||||
public DevelopmentOsuConfigManager(Storage storage)
|
||||
: base(storage)
|
||||
{
|
||||
LookupKeyBindings = _ => "unknown";
|
||||
LookupSkinName = _ => "unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -240,9 +240,9 @@ namespace osu.Game.Configuration
|
||||
};
|
||||
}
|
||||
|
||||
public Func<Guid, string> LookupSkinName { private get; set; }
|
||||
public Func<Guid, string> LookupSkinName { private get; set; } = _ => @"unknown";
|
||||
|
||||
public Func<GlobalAction, LocalisableString> LookupKeyBindings { get; set; }
|
||||
public Func<GlobalAction, LocalisableString> LookupKeyBindings { get; set; } = _ => @"unknown";
|
||||
}
|
||||
|
||||
// IMPORTANT: These are used in user configuration files.
|
||||
|
Loading…
Reference in New Issue
Block a user