This commit is contained in:
Anuken
2023-04-01 10:04:22 -04:00
parent b326bdf0e8
commit affa30730a

View File

@@ -262,7 +262,7 @@ public class DesktopInput extends InputHandler{
shouldShoot = !scene.hasMouse() && !locked;
if(!locked && block == null && !scene.hasField() &&
if(!locked && block == null && !scene.hasField() && !scene.hasDialog() &&
//disable command mode when player unit can boost and command mode binding is the same
!(!player.dead() && player.unit().type.canBoost && keybinds.get(Binding.command_mode).key == keybinds.get(Binding.boost).key)){
if(settings.getBool("commandmodehold")){