Formatted all files.
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenRA.Mods.RA.Activities
|
||||
if (ml.Minefield.Length > 0)
|
||||
{
|
||||
// dont get stuck forever here
|
||||
for (var n = 0; n < 20; n++)
|
||||
for (var n = 0; n < 20; n++)
|
||||
{
|
||||
var p = ml.Minefield.Random(self.World.SharedRandom);
|
||||
if (ShouldLayMine(self, p))
|
||||
|
||||
@@ -47,7 +47,8 @@ namespace OpenRA.Mods.RA
|
||||
state = State.Dock;
|
||||
return Util.SequenceActivities(new Turn(self, angle), this);
|
||||
case State.Dock:
|
||||
ru.PlayCustomAnimation(self, "dock", () => {
|
||||
ru.PlayCustomAnimation(self, "dock", () =>
|
||||
{
|
||||
ru.PlayCustomAnimRepeating(self, "dock-loop");
|
||||
if (proc.IsInWorld && !proc.IsDead)
|
||||
foreach (var nd in proc.TraitsImplementing<INotifyDocking>())
|
||||
|
||||
Reference in New Issue
Block a user