Sensible screen scrolling speeds

This commit is contained in:
Martin Prokoph
2024-07-25 11:07:29 +02:00
parent dbb6e926e6
commit 333fc7f300
4 changed files with 11 additions and 17 deletions

View File

@@ -86,7 +86,7 @@ public class MidnightControlsClient extends MidnightControls {
int period = 1; // repeat every 0.001 sec. (1000 times a second)
Timer timer = new Timer();
timer.scheduleAtFixedRate(new TimerTask() {
public void run() {
public void run() { // TODO: Add a try/catch here after the alpha testing period
if (lateInitDone && client.isRunning()) {
input.tickJoysticks();
input.updateCamera();