1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 05:27:23 +08:00

Merge pull request #16642 from peppy/ruleset-private-info-set

Make `Ruleset.RulesetInfo` get only
This commit is contained in:
Dan Balasescu 2022-01-27 16:41:52 +09:00 committed by GitHub
commit 54d18bd7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ namespace osu.Game.Rulesets
[ExcludeFromDynamicCompile]
public abstract class Ruleset
{
public RulesetInfo RulesetInfo { get; internal set; }
public RulesetInfo RulesetInfo { get; }
private static readonly ConcurrentDictionary<string, IMod[]> mod_reference_cache = new ConcurrentDictionary<string, IMod[]>();