Bugfix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user