Skip to content

Commit

Permalink
Misc tiny cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DaXcess committed Jan 16, 2025
1 parent d6b0424 commit 6461248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public void DeserializeFromES3()
if (AccessTools.Property(typeof(Config), key) is { } prop &&
prop.GetCustomAttribute<ES3NonSerializable>() != null)
continue;

var entry = File[section, key];

entry.BoxedValue = entry.SettingType.IsEnum
Expand Down
4 changes: 2 additions & 2 deletions Source/Networking/NetworkSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class NetworkSystem : MonoBehaviour
/// <summary>
/// List of client IDs (from Dissonance Voice) which support LCVR networking
/// </summary>
private static readonly HashSet<ushort> subscribers = [];
private readonly HashSet<ushort> subscribers = [];

/// <summary>
/// List of active channels we have, which can be used to communicate data over
Expand Down Expand Up @@ -156,7 +156,7 @@ private IEnumerator SendHandshakeRoutine()

#region PACKET SENDING

internal void SendPacket(MessageType type, byte[] payload, params ClientInfo<NfgoConn?>[] targets)
private void SendPacket(MessageType type, byte[] payload, params ClientInfo<NfgoConn?>[] targets)
{
if (LocalId is not { } sender)
return;
Expand Down

0 comments on commit 6461248

Please sign in to comment.