Fixed #8458
This commit is contained in:
@@ -262,7 +262,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
|
|
||||||
shouldShoot = !scene.hasMouse() && !locked;
|
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
|
//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)){
|
!(!player.dead() && player.unit().type.canBoost && keybinds.get(Binding.command_mode).key == keybinds.get(Binding.boost).key)){
|
||||||
if(settings.getBool("commandmodehold")){
|
if(settings.getBool("commandmodehold")){
|
||||||
|
|||||||
Reference in New Issue
Block a user