Fixed incorrect commanding

This commit is contained in:
Anuken
2022-02-10 17:45:29 -05:00
parent 50f704096f
commit e405a3880e

View File

@@ -687,7 +687,7 @@ public class DesktopInput extends InputHandler{
@Override
public boolean tap(float x, float y, int count, KeyCode button){
if(scene.hasMouse()) return false;
if(scene.hasMouse() || !commandMode) return false;
tappedOne = true;