Disable warnings that would be refactored anyway (#5047)

This commit is contained in:
Visne
2021-10-27 18:10:40 +02:00
committed by GitHub
parent bd4ab219e3
commit c67160ae19
93 changed files with 302 additions and 5 deletions

View File

@@ -349,7 +349,6 @@ namespace Content.Shared.Preferences
string RandomName()
{
if (Sex == null) return "Urist McHands"; // This shouldn't happen
var random = IoCManager.Resolve<IRobustRandom>();
var protoMan = IoCManager.Resolve<IPrototypeManager>();
var firstName = random.Pick(Sex.FirstNames(protoMan).Values);