1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-11 14:56:10 +03:00

Added desktop place info text

This commit is contained in:
Anuken 2018-07-03 11:00:53 -04:00
parent 7e6807509b
commit efc779a8d7

View File

@ -131,6 +131,12 @@ public class DesktopInput extends InputHandler{
if(player.isDead() || state.is(State.menu) || ui.hasDialog()) return;
if(recipe != null && !Settings.getBool("desktop-place-help", false)){
ui.showInfo("Desktop controls have been changed.\nTo deselect a block or stop building, [accent]use the middle mouse button[].");
Settings.putBool("desktop-place-help", true);
Settings.save();
}
player.isBoosting = Inputs.keyDown("dash");
//deslect if not placing