whoops
This commit is contained in:
@@ -98,14 +98,11 @@ namespace OpenRA.Traits
|
|||||||
// Pick a spawn/exit point pair
|
// Pick a spawn/exit point pair
|
||||||
// Todo: Reorder in a synced random way
|
// Todo: Reorder in a synced random way
|
||||||
foreach (var s in self.Info.Traits.WithInterface<ExitInfo>())
|
foreach (var s in self.Info.Traits.WithInterface<ExitInfo>())
|
||||||
{
|
|
||||||
System.Console.WriteLine("here");
|
|
||||||
if (mobile.CanEnterCell(self.Location + s.ExitCell,self,true))
|
if (mobile.CanEnterCell(self.Location + s.ExitCell,self,true))
|
||||||
{
|
{
|
||||||
DoProduction(self, newUnit, s);
|
DoProduction(self, newUnit, s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user