Fixed wire connections being lost when copy-pasting in sub editor
This commit is contained in:
@@ -120,6 +120,11 @@ namespace Barotrauma.Items.Components
|
||||
return componentElement;
|
||||
}
|
||||
|
||||
protected override void ShallowRemoveComponentSpecific()
|
||||
{
|
||||
//do nothing
|
||||
}
|
||||
|
||||
protected override void RemoveComponentSpecific()
|
||||
{
|
||||
foreach (Connection c in Connections)
|
||||
|
||||
Reference in New Issue
Block a user