mirror of https://github.com/ppy/osu
Remove null hinting for now
This commit is contained in:
parent
b80a8296cd
commit
8e8f33ec7b
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using JetBrains.Annotations;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets
|
namespace osu.Game.Rulesets
|
||||||
|
@ -21,7 +20,6 @@ public class RulesetInfo : IEquatable<RulesetInfo>
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public bool Available { get; set; }
|
public bool Available { get; set; }
|
||||||
|
|
||||||
[CanBeNull]
|
|
||||||
public virtual Ruleset CreateInstance()
|
public virtual Ruleset CreateInstance()
|
||||||
{
|
{
|
||||||
if (!Available) return null;
|
if (!Available) return null;
|
||||||
|
|
Loading…
Reference in New Issue