Don't rethrow exceptions, just let them pass through

This commit is contained in:
DBotThePony 2022-02-21 12:36:48 +07:00
parent 35e5b64606
commit 135671cc20
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -848,8 +848,6 @@ class B2World(
if (autoClearForces) {
clearForces()
}
} catch(err: Throwable) {
throw RuntimeException("Caught an exception simulating physics world", err)
} finally {
isLocked = false
}