Use is class instead of Equals with template index

Ensures ordering of `PossibleTemplates` does not affect tests.
This commit is contained in:
Naxess
2021-04-13 02:29:25 +02:00
parent 0bcc39bd36
commit 6d3f9fa9ce
5 changed files with 16 additions and 12 deletions

View File

@ -70,7 +70,5 @@ namespace osu.Game.Rulesets.Edit.Checks.Components
}
}
}
public bool Equals(IssueTemplate other) => other.Type == Type && other.UnformattedMessage == UnformattedMessage;
}
}