Update submodule and fix race condition in wire component init
This commit is contained in:
@@ -114,6 +114,11 @@ namespace Content.Server.GameObjects.Components
|
|||||||
_userInterface = Owner.GetComponent<ServerUserInterfaceComponent>()
|
_userInterface = Owner.GetComponent<ServerUserInterfaceComponent>()
|
||||||
.GetBoundUserInterface(WiresUiKey.Key);
|
.GetBoundUserInterface(WiresUiKey.Key);
|
||||||
_userInterface.OnReceiveMessage += UserInterfaceOnReceiveMessage;
|
_userInterface.OnReceiveMessage += UserInterfaceOnReceiveMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Startup()
|
||||||
|
{
|
||||||
|
base.Startup();
|
||||||
|
|
||||||
foreach (var wiresProvider in Owner.GetAllComponents<IWires>())
|
foreach (var wiresProvider in Owner.GetAllComponents<IWires>())
|
||||||
{
|
{
|
||||||
|
|||||||
Submodule RobustToolbox updated: 6677035233...643c76b28e
Reference in New Issue
Block a user