forked from Clones/Controlify
🐛 Fix calibration screen getting stuck if controller was disconnected
This commit is contained in:
1 parent
23f9bc8d1a
commit
adc439128f
1 file changed
+5
+5
@@ -96,6 +96,11 @@ public class ControllerDeadzoneCalibrationScreen extends Screen {
|
||||
|
||||
@Override
|
||||
public void tick() {
|
||||
if (!ControllerManager.isControllerConnected(controller.uid())) {
|
||||
onClose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!calibrating)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user