Unit assembler progress

This commit is contained in:
Anuken
2021-12-13 23:14:26 -05:00
parent 121b992d56
commit bdc3b85346
18 changed files with 264 additions and 12 deletions
+2
View File
@@ -29,6 +29,8 @@ public class CargoAI extends AIController{
var build = tether.building();
if(build.items == null) return;
//empty, approach the loader, even if there's nothing to pick up (units hanging around doing nothing looks bad)
if(!unit.hasItem()){
moveTo(build, moveRange, moveSmoothing);