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>()
|
||||
.GetBoundUserInterface(WiresUiKey.Key);
|
||||
_userInterface.OnReceiveMessage += UserInterfaceOnReceiveMessage;
|
||||
}
|
||||
|
||||
protected override void Startup()
|
||||
{
|
||||
base.Startup();
|
||||
|
||||
foreach (var wiresProvider in Owner.GetAllComponents<IWires>())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user