chore(content): Updates to C# 9 syntax (#373)
This commit is contained in:
parent
a59fda6a3a
commit
1e2242bb1a
25 changed files with 155 additions and 405 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue