Fix device networking, again (#23035)
This commit is contained in:
@@ -532,12 +532,13 @@ public sealed class NetworkConfiguratorSystem : SharedNetworkConfiguratorSystem
|
||||
/// </summary>
|
||||
private void OnUiClosed(EntityUid uid, NetworkConfiguratorComponent component, BoundUIClosedEvent args)
|
||||
{
|
||||
component.ActiveDeviceList = null;
|
||||
if (TryComp(component.ActiveDeviceList, out DeviceListComponent? list))
|
||||
{
|
||||
list.Configurators.Remove(uid);
|
||||
}
|
||||
|
||||
component.ActiveDeviceList = null;
|
||||
|
||||
if (args.UiKey is NetworkConfiguratorUiKey.Link)
|
||||
{
|
||||
component.ActiveDeviceLink = null;
|
||||
|
||||
Reference in New Issue
Block a user