Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed Nov 18, 2021
1 parent f30938d commit 30ea41b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mindustry/input/ModMobileInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ public boolean zoom(float initialDistance, float distance){

protected void updateMovement(Unit unit){
if(!Core.input.isTouched() && SchemeSize.ai.select(false)){
if(mobilePanCam) Core.camera.position.set(unit.x, unit.y);
if(!mobilePanCam) Core.camera.position.set(unit.x, unit.y);
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/mindustry/scheme/SchemeSize.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public SchemeSize(){
listfrag.build(ui.hudGroup);

// hide secret
setting.mod.getCells().get(mobile ? 8 : 10).visible(false);
setting.mod.getCells().get(mobile ? 8 : 10).visible(Core.settings.getBool("secret"));

// mobiles haven`t keybinds
if(mobile) return;
Expand Down

0 comments on commit 30ea41b

Please sign in to comment.