1
0
Fork 0

Merge pull request #106119 from mihe/jolt/space-change-errors

Remove emitting of error in `JoltBody3D::_exit_all_areas`
This commit is contained in:
Thaddeus Crews 2025-05-06 08:37:58 -05:00
commit 28068fab1a
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 3 additions and 1 deletions

View File

@ -423,7 +423,9 @@ void JoltBody3D::_destroy_joint_constraints() {
}
void JoltBody3D::_exit_all_areas() {
ERR_FAIL_COND(!in_space());
if (!in_space()) {
return;
}
for (JoltArea3D *area : areas) {
area->body_exited(jolt_body->GetID(), false);