Merge pull request #40349 from volzhs/crash-overlapping-objects
Fix overlappingObjects vector crash
This commit is contained in:
commit
678368df27
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ void AreaBullet::do_reload_body() {
|
|||
void AreaBullet::set_space(SpaceBullet *p_space) {
|
||||
// Clear the old space if there is one
|
||||
if (space) {
|
||||
overlappingObjects.clear();
|
||||
clear_overlaps(false);
|
||||
isScratched = false;
|
||||
|
||||
// Remove this object form the physics world
|
||||
|
|
Loading…
Reference in a new issue