Cargo units *will* chase you down if you pick up their target. (#8033)
This commit is contained in:
@@ -60,8 +60,8 @@ public class CargoAI extends AIController{
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
//what if some prankster reconfigures the source while the unit is moving? we can't have that!
|
//what if some prankster reconfigures or picks up the target while the unit is moving? we can't have that!
|
||||||
if(unloadTarget.item != itemTarget){
|
if(unloadTarget.item != itemTarget || unloadTarget.isPayload()){
|
||||||
unloadTarget = null;
|
unloadTarget = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user