Merge https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -3560,6 +3560,7 @@ namespace Barotrauma
|
||||
foreach (var subElement in info.SubmarineElement.Elements())
|
||||
{
|
||||
int id = subElement.GetAttributeInt("ID", -1);
|
||||
if (id == -1) { continue; }
|
||||
Identifier identifier = subElement.GetAttributeIdentifier("identifier", string.Empty);
|
||||
if (entities.TryGetValue(id, out Identifier duplicateEntity))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user