- attempt to ignore resource cache for human players to see if this fixes harvesting location problems for human players
This commit is contained in:
parent
fcb1681de9
commit
742cbaa1c7
|
@ -363,7 +363,8 @@ bool Map::isResourceNear(const Vec2i &pos, const ResourceType *rt, Vec2i &resour
|
|||
}
|
||||
}
|
||||
|
||||
if(fallbackToPeersHarvestingSameResource == true && unit != NULL) {
|
||||
if(fallbackToPeersHarvestingSameResource == true && unit != NULL &&
|
||||
unit->getFaction()->getControlType() != ctHuman &&unit->getFaction()->getControlType() != ctNetwork) {
|
||||
// Look for another unit that is currently harvesting the same resource
|
||||
// type right now
|
||||
|
||||
|
|
Loading…
Reference in New Issue