Add AddLinked to MapEntity #50 from Qowyn/patch-2
Add AddLinked to MapEntity
This commit is contained in:
@@ -90,6 +90,14 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abstract partial class MapEntity
|
||||||
|
{
|
||||||
|
public void AddLinked(MapEntity entity)
|
||||||
|
{
|
||||||
|
linkedTo.Add(entity);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Barotrauma.Items.Components
|
namespace Barotrauma.Items.Components
|
||||||
@@ -103,4 +111,4 @@ namespace Barotrauma.Items.Components
|
|||||||
partial struct Signal
|
partial struct Signal
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user