Bugfixes
This commit is contained in:
@@ -84,7 +84,7 @@ public class Door extends Wall{
|
||||
if(type == LAccess.enabled){
|
||||
boolean shouldOpen = !Mathf.zero(p1);
|
||||
|
||||
if(net.client() || open == shouldOpen || (Units.anyEntities(tile) && !shouldOpen) || !origin().timer(timerToggle, 60f)){
|
||||
if(net.client() || open == shouldOpen || (Units.anyEntities(tile) && !shouldOpen) || !origin().timer(timerToggle, 80f)){
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public class Door extends Wall{
|
||||
|
||||
@Override
|
||||
public void tapped(){
|
||||
if((Units.anyEntities(tile) && open) || !origin().timer(timerToggle, 50f)){
|
||||
if((Units.anyEntities(tile) && open) || !origin().timer(timerToggle, 60f)){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ public class LogicBlock extends Block{
|
||||
}
|
||||
}
|
||||
|
||||
public class LogicBuild extends Building{
|
||||
public class LogicBuild extends Building implements Ranged{
|
||||
/** logic "source code" as list of asm statements */
|
||||
public String code = "";
|
||||
public LExecutor executor = new LExecutor();
|
||||
@@ -304,6 +304,11 @@ public class LogicBlock extends Block{
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public float range(){
|
||||
return range;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTile(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user