v2.1.2: actually properly implemented controller init safety check
This commit is contained in:
@@ -75,10 +75,11 @@ public class ControllerHandler implements ControllerListener {
|
|||||||
// e.g. missing natives on very old 32-bit desktop platforms
|
// e.g. missing natives on very old 32-bit desktop platforms
|
||||||
Controllers.getCurrent();
|
Controllers.getCurrent();
|
||||||
initialized = true;
|
initialized = true;
|
||||||
|
return true;
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
failedInit = true;
|
failedInit = true;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user