Fix newlines in C# files.

This commit is contained in:
Paul Chote
2018-07-01 00:48:03 +01:00
committed by reaperrr
parent 6b6167d37c
commit 8c0f4fde81
15 changed files with 51 additions and 51 deletions

View File

@@ -88,16 +88,16 @@ namespace OpenRA.Mods.Common.Traits
public int ChangeCash(int amount)
{
if (amount >= 0)
if (amount >= 0)
GiveCash(amount);
else
else
{
// Don't put the player into negative funds
// Don't put the player into negative funds
amount = Math.Max(-(Cash + Resources), amount);
TakeCash(-amount);
}
TakeCash(-amount);
}
return amount;
}