Some cleanup using ReSharper (mostly removing redundancies)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user