Skip to content

Commit

Permalink
Working
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Sep 14, 2023
1 parent 1417059 commit 8486cab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Server/_NF/Bodycam/BodycamSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void SetCamera(EntityUid uid, BodycamMode mode, EntityUid? userUid = null
return null;

// finally, form camera status
var status = new BodycamStatus(uid);
var status = new BodycamStatus(GetNetEntity(uid));
return status;
}
}
Expand Down
4 changes: 2 additions & 2 deletions Content.Shared/_NF/Bodycam/SharedBodycam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace Content.Shared._NF.Bodycam
[Serializable, NetSerializable]
public sealed class BodycamStatus
{
public BodycamStatus(EntityUid bodycamUid)
public BodycamStatus(NetEntity bodycamUid)
{
BodycamUid = bodycamUid;
}

public EntityUid BodycamUid;
public NetEntity BodycamUid;
}

[Serializable, NetSerializable]
Expand Down

0 comments on commit 8486cab

Please sign in to comment.