Harvesters no longer block each other during low-ore contention and wait for a random amount of time while idle to search for more resources.
This commit is contained in:
@@ -178,6 +178,11 @@ namespace OpenRA.Mods.RA.Move
|
||||
var nudge = blocker.TraitOrDefault<INudge>();
|
||||
if (nudge != null)
|
||||
nudge.OnNudge(blocker, self, false);
|
||||
|
||||
// Notify the blocker that he's blocking our move:
|
||||
INotifyBlockingMove moveBlocked;
|
||||
if ((moveBlocked = blocker.TraitOrDefault<INotifyBlockingMove>()) != null)
|
||||
moveBlocked.OnNotifyBlockingMove(blocker, self, nextCell);
|
||||
}
|
||||
|
||||
Pair<CPos, SubCell>? PopPath(Actor self, Mobile mobile)
|
||||
|
||||
Reference in New Issue
Block a user