Removed logic disable timer
This commit is contained in:
@@ -560,6 +560,11 @@ public class LExecutor{
|
||||
public void run(LExecutor exec){
|
||||
Object obj = exec.obj(target);
|
||||
if(obj instanceof Building b && (exec.privileged || (b.team == exec.team && exec.linkIds.contains(b.id)))){
|
||||
|
||||
if(type == LAccess.enabled && !exec.bool(p1)){
|
||||
b.lastDisabler = exec.build;
|
||||
}
|
||||
|
||||
if(type.isObj && exec.var(p1).isobj){
|
||||
b.control(type, exec.obj(p1), exec.num(p2), exec.num(p3), exec.num(p4));
|
||||
}else{
|
||||
|
||||
@@ -1244,13 +1244,6 @@ public class LStatements{
|
||||
rebuild(table);
|
||||
}
|
||||
|
||||
/*
|
||||
unitBuildSpeed,
|
||||
unitDamage,
|
||||
blockHealth,
|
||||
blockDamage
|
||||
*/
|
||||
|
||||
void rebuild(Table table){
|
||||
table.clearChildren();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user