@@ -1,3 +1,4 @@
|
||||
using Content.Server._White.SurveillanceCamera;
|
||||
using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork.Components;
|
||||
using Content.Server.DeviceNetwork.Systems;
|
||||
@@ -134,9 +135,9 @@ public sealed class SurveillanceCameraSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
if (TryComp<SurveillanceBodyCameraComponent>(uid, out var bodycamComp))
|
||||
if (TryComp<SurveillanceBodyCameraComponent>(uid, out _)) // WD EDIT
|
||||
{
|
||||
component.NameSet = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (component.NameSet && component.NetworkSet)
|
||||
@@ -212,7 +213,7 @@ public sealed class SurveillanceCameraSystem : EntitySystem
|
||||
UpdateSetupInterface(uid, camera);
|
||||
}
|
||||
|
||||
private void UpdateSetupInterface(EntityUid uid, SurveillanceCameraComponent? camera = null, DeviceNetworkComponent? deviceNet = null)
|
||||
public void UpdateSetupInterface(EntityUid uid, SurveillanceCameraComponent? camera = null, DeviceNetworkComponent? deviceNet = null)
|
||||
{
|
||||
if (!Resolve(uid, ref camera, ref deviceNet))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user