Fix newlines in C# files.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user