Unstable 1.8.4.0

This commit is contained in:
Markus Isberg
2025-03-12 12:56:27 +00:00
parent a4c3e868e4
commit a4a3427e4e
627 changed files with 29860 additions and 10018 deletions
@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using System.Xml.Linq;
using Barotrauma.Items.Components;
@@ -182,7 +182,10 @@ namespace Barotrauma
To.Connection.DisconnectWire(wire);
}
// if EntitySpawner is not available
wireItem.Remove();
if (!wireItem.Removed)
{
wireItem.Remove();
}
}
public static ItemPrefab DefaultWirePrefab => ItemPrefab.Prefabs[Tags.RedWire];