Tutorial fixes

This commit is contained in:
Anuken
2019-08-13 16:26:02 -04:00
parent 974ab59fd2
commit 58b4f64125
9 changed files with 40 additions and 55 deletions

View File

@@ -457,7 +457,7 @@ public class MobileInput extends InputHandler implements GestureListener{
selecting = hasRequest(cursor) && isPlacing() && mode == placing;
//call tap events
if(pointer == 0 && !selecting && mode == none){
if(pointer == 0 && !selecting){
if(!tryTapPlayer(worldx, worldy) && Core.settings.getBool("keyboard")){
//shoot on touch down when in keyboard mode
player.isShooting = true;