diff --git a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Endpoint.cs b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Endpoint.cs index 6b0ee94..9cafd47 100644 --- a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Endpoint.cs +++ b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Endpoint.cs @@ -177,7 +177,7 @@ namespace LightReflectiveMirror.LoadBalancing return; } - KeyValuePair lowest = new(new RelayAddress { Address = "Dummy" }, new RelayServerInfo { ConnectedClients = int.MaxValue }); + KeyValuePair lowest = new(new RelayAddress { address = "Dummy" }, new RelayServerInfo { connectedClients = int.MaxValue }); for (int i = 0; i < servers.Count; i++) { diff --git a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/ProgramExtra.cs b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/ProgramExtra.cs index 7cdcc98..fad6815 100644 --- a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/ProgramExtra.cs +++ b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/ProgramExtra.cs @@ -11,7 +11,7 @@ namespace LightReflectiveMirror.LoadBalancing long temp = 0; foreach (var item in availableRelayServers) - temp += item.Value.ConnectedClients; + temp += item.Value.connectedClients; return temp; } @@ -21,7 +21,7 @@ namespace LightReflectiveMirror.LoadBalancing int temp = 0; foreach (var item in availableRelayServers) - temp += item.Value.RoomCount; + temp += item.Value.roomCount; return temp; }