Build 0.18.0.0

This commit is contained in:
Markus Isberg
2022-05-13 00:55:52 +09:00
parent 15d18e6ff6
commit 7547a9b78a
218 changed files with 3881 additions and 2192 deletions
@@ -1077,7 +1077,7 @@ namespace Barotrauma
{
foreach (Connection c in gapToRemove.ConnectedDoor.Item.Connections)
{
c.Wires.ForEach(w => w?.Item.Remove());
c.Wires.ToArray().ForEach(w => w?.Item.Remove());
}
}
@@ -1428,7 +1428,7 @@ namespace Barotrauma
{
foreach (Connection connection in linkedItem.Connections)
{
foreach (Wire w in connection.Wires)
foreach (Wire w in connection.Wires.ToArray())
{
w?.Item.Remove();
}