Some cleanup using ReSharper (mostly removing redundancies)

This commit is contained in:
Regalis
2016-03-12 15:32:34 +02:00
parent ae4e4d8f34
commit d1580328ed
99 changed files with 197 additions and 483 deletions
+1 -2
View File
@@ -45,11 +45,10 @@ namespace Barotrauma
private IEnumerable<object> UpdateColorFade(Color from, Color to, float duration)
{
while (Screen.Selected != this)
while (Selected != this)
{
yield return CoroutineStatus.Running;
}
float timer = 0.0f;