Fixed unit pads, rule selection, gameover state

This commit is contained in:
Anuken
2019-05-18 10:02:36 -04:00
parent 3b2b79d539
commit 3464f40da3
5 changed files with 15 additions and 4 deletions

View File

@@ -195,6 +195,13 @@ public abstract class InputHandler implements InputProcessor{
}
}
//clear when the player taps on something else
if(!consumed && !mobile && player.isBuilding() && block == null){
player.clearBuilding();
block = null;
return true;
}
if(!showedInventory){
frag.inv.hide();
}