mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-14 07:35:10 +01:00
Various fixes
- Fix #309 (Missing translations) - Fix controller input always being read - Improved injection of options button (Closes #305)
This commit is contained in:
@@ -88,8 +88,10 @@ public class MidnightControlsClient extends MidnightControls {
|
||||
timer.scheduleAtFixedRate(new TimerTask() {
|
||||
public void run() { // TODO: Add a try/catch here after the alpha testing period
|
||||
if (lateInitDone && client.isRunning()) {
|
||||
input.tickCameraStick();
|
||||
input.updateCamera();
|
||||
if (MidnightControlsConfig.controlsMode == ControlsMode.CONTROLLER && (client.isWindowFocused() || MidnightControlsConfig.unfocusedInput)) {
|
||||
input.tickCameraStick();
|
||||
input.updateCamera();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, delay, period);
|
||||
|
||||
Reference in New Issue
Block a user