Skip to content

Commit

Permalink
Do not disable while controlled
Browse files Browse the repository at this point in the history
  • Loading branch information
MEEPofFaith committed Aug 1, 2024
1 parent 56a4a81 commit 1897fa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void updateTile(){
b.control(LAccess.enabled, 1, 0, 0, 0);
Tmp.v1.trns(targetSetting.x, targetSetting.y * tilesize).add(b).scl(1f / tilesize);
b.control(LAccess.shoot, Tmp.v1.x, Tmp.v1.y, 1, 0);
}else if(controlState == ControlState.disable){
}else if(controlState == ControlState.disable && !b.isControlled()){
b.control(LAccess.enabled, 0, 0, 0, 0);
}else{
b.control(LAccess.enabled, 1, 0, 0, 0);
Expand Down

0 comments on commit 1897fa0

Please sign in to comment.