All remaining physics bodies are removed at the end of submarine unloading (freeing debug bodyShapeTextures, etc). -> LevelTrigger bodies don't have to be removed separately during unloading
This commit is contained in:
@@ -1153,8 +1153,8 @@ namespace Barotrauma
|
||||
}
|
||||
Item.ItemList.Clear();
|
||||
}
|
||||
|
||||
PhysicsBody.list.Clear();
|
||||
|
||||
PhysicsBody.RemoveAll();
|
||||
|
||||
Ragdoll.list.Clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user