Revert "Revert back to 1.0.3"

This commit is contained in:
NotAlwaysTrue
2025-12-27 16:05:20 +08:00
committed by GitHub
parent 75465f2f21
commit a44d89f953
5 changed files with 57 additions and 78 deletions
@@ -479,7 +479,7 @@ namespace Barotrauma
{
foreach (Fixture fixture in triggerBody.FarseerBody.FixtureList)
{
ContactEdge contactEdge = fixture.Body.ContactList.CreateCopy();
ContactEdge contactEdge = fixture.Body.ContactList == null ? null: fixture.Body.ContactList.CreateCopy();
while (contactEdge != null)
{
if (contactEdge.Contact != null &&