This commit is contained in:
Anuken 2020-05-15 11:11:03 -04:00
parent b68e0a8562
commit 9f20de427e
2 changed files with 7 additions and 1 deletions

View File

@ -32,6 +32,12 @@ abstract class BuilderComp implements Unitc{
transient float buildSpeed = 1f;
transient boolean building = true;
@Override
public void controller(UnitController next){
//reset building state so AI controlled units will always start off building
building = true;
}
@Override
public void update(){
if(!building) return;

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=58d8b9c20f19ea112276bf52d430529e4317bb8b
archash=b03d1d78790c8fa705b150121cef4028ef84757f