mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-15 05:43:02 -08:00
Fixed input mouse jump glitch
This commit is contained in:
parent
664b2c3ced
commit
d0783f352d
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ public class DesktopInput extends InputHandler{
|
|||
|
||||
if((Inputs.keyTap("select") && recipe != null) || Inputs.keyTap("break")){
|
||||
Vector2 vec = Graphics.world(Gdx.input.getX(), Gdx.input.getY());
|
||||
mousex = (int)vec.x;
|
||||
mousey = (int)vec.y;
|
||||
mousex = vec.x;
|
||||
mousey = vec.y;
|
||||
}
|
||||
|
||||
if(!Inputs.keyDown("select") && !Inputs.keyDown("break")){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue