chore(content): Updates to C# 9 syntax (#373)

This commit is contained in:
Kamron Batman 2020-12-30 12:50:10 -08:00 • committed by GitHub
parent a59fda6a3a
commit 1e2242bb1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 155 additions and 405 deletions

View file

@ -329,16 +329,7 @@ namespace Server.Misc
}
else
{
density = 150 - m_Stage * 5;
if (density < 10)
{
density = 10;
}
else if (density > 70)
{
density = 70;
}
density = Math.Clamp(150 - m_Stage * 5, 10, 70);
}
if (density == 0)