This commit is contained in:
Anuken
2025-08-10 09:41:36 +02:00
parent a03512696d
commit a6e8683b45

View File

@@ -482,6 +482,10 @@ public class DesktopInput extends InputHandler{
pollInputPlayer(); pollInputPlayer();
} }
if(Core.input.keyRelease(Binding.select)){
player.shooting = false;
}
if(!Core.scene.hasMouse() && !ui.minimapfrag.shown()){ if(!Core.scene.hasMouse() && !ui.minimapfrag.shown()){
Core.graphics.cursor(cursorType); Core.graphics.cursor(cursorType);
changedCursor = cursorType != SystemCursor.arrow; changedCursor = cursorType != SystemCursor.arrow;
@@ -860,10 +864,6 @@ public class DesktopInput extends InputHandler{
Call.rotateBlock(player, cursor.build, Core.input.axisTap(Binding.rotate) > 0); Call.rotateBlock(player, cursor.build, Core.input.axisTap(Binding.rotate) > 0);
} }
} }
if(Core.input.keyRelease(Binding.select)){
player.shooting = false;
}
} }
@Override @Override