Merge pull request #619 from frosty-dev/bodycamera-fix
now able to change bodycamera names multiple times
This commit is contained in:
@@ -134,6 +134,11 @@ public sealed class SurveillanceCameraSystem : EntitySystem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (TryComp<SurveillanceBodyCameraComponent>(uid, out var bodycamComp))
|
||||||
|
{
|
||||||
|
component.NameSet = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (component.NameSet && component.NetworkSet)
|
if (component.NameSet && component.NetworkSet)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user