mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-20 22:01:28 -07:00
Cargo units *will* chase you down if you pick up their target. (#8033)
This commit is contained in:
parent
ba72e9c50d
commit
eb0481a1da
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ public class CargoAI extends AIController{
|
|||
}
|
||||
}else{
|
||||
|
||||
//what if some prankster reconfigures the source while the unit is moving? we can't have that!
|
||||
if(unloadTarget.item != itemTarget){
|
||||
//what if some prankster reconfigures or picks up the target while the unit is moving? we can't have that!
|
||||
if(unloadTarget.item != itemTarget || unloadTarget.isPayload()){
|
||||
unloadTarget = null;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue