stop spraying all these damned parentheses where they aren't needed

This commit is contained in:
Chris Forbes
2011-08-21 21:02:19 +12:00
parent 3a5682a1f7
commit 6daeb73471

View File

@@ -58,8 +58,8 @@ namespace OpenRA.Mods.RA.Widgets.Logic
postgameText.GetText = () =>
{
var state = world.LocalPlayer.WinState;
return (state == WinState.Undefined)? "" :
((state == WinState.Lost)? "YOU ARE DEFEATED" : "YOU ARE VICTORIOUS");
return state == WinState.Undefined ? "" :
(state == WinState.Lost ? "YOU ARE DEFEATED" : "YOU ARE VICTORIOUS");
};
}