- Minor clarification for Y/N shortcuts.

This commit is contained in:
Michael Kamensky
2021-09-30 07:50:59 +03:00
parent a3e5ae1999
commit d1af3ccd4d

View File

@@ -484,7 +484,7 @@ public class MatchScreen extends FScreen {
return true;
}
break;
case Keys.Y: //auto-yield, always yes
case Keys.Y: //auto-yield, always yes, Ctrl+Y on Android, Y when running on desktop
if (KeyInputAdapter.isCtrlKeyDown() || GuiBase.getInterface().isRunningOnDesktop()) {
final IGuiGame gui = MatchController.instance;
final IGameController controller = MatchController.instance.getGameController();
@@ -515,7 +515,7 @@ public class MatchScreen extends FScreen {
}
}
break;
case Keys.N: //auto-yield, always no
case Keys.N: //auto-yield, always no, Ctrl+N on Android, N when running on desktop
if (KeyInputAdapter.isCtrlKeyDown() || GuiBase.getInterface().isRunningOnDesktop()) {
final IGuiGame gui = MatchController.instance;
final IGameController controller = MatchController.instance.getGameController();