mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-25 10:25:42 +07:00
Bugfix
This commit is contained in:
parent
b68e0a8562
commit
9f20de427e
@ -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;
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=58d8b9c20f19ea112276bf52d430529e4317bb8b
|
||||
archash=b03d1d78790c8fa705b150121cef4028ef84757f
|
||||
|
Loading…
Reference in New Issue
Block a user