This commit is contained in:
Anuken
2020-12-27 20:41:29 -05:00
parent 72686b3ef8
commit 3ef67cab69
2 changed files with 8 additions and 5 deletions

View File

@@ -629,8 +629,8 @@ public class MobileInput extends InputHandler implements GestureListener{
}
@Override
public void update(){
super.update();
public void updateState(){
super.updateState();
if(state.isMenu()){
selectRequests.clear();
@@ -639,6 +639,11 @@ public class MobileInput extends InputHandler implements GestureListener{
manualShooting = false;
payloadTarget = null;
}
}
@Override
public void update(){
super.update();
if(player.dead()){
mode = none;