small oversight

This commit is contained in:
qimiko committed 2024-05-31 19:16:48 -07:00
1 parent a62bdcc51c
commit 6258700bc4
1 file changed
+6
@@ -152,6 +152,12 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
private fun handleGeodeException(e: Throwable) {
e.printStackTrace()
// ignore load failures if the game is newer than what's supported
// so people in the future can use their save data
if (GamePackageUtils.getGameVersionCode(packageManager) <= Constants.SUPPORTED_VERSION_CODE) {
throw e
}
}
private fun setupRedirection(packageInfo: PackageInfo) {