Skip to content

Commit

Permalink
[udp] fix implicit ip direct connection (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaicm93 authored Apr 11, 2024
2 parents 0cca806 + d644527 commit 77ce9a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Networking/GameClientUDP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ public async void Start()

if(!_netClient.IsRunning)
_netClient.Start();

var expli = ServerEndPoints["explicit"];
if (expli != null)
;
if (ServerEndPoints.ContainsKey("explicit"))
{
var expli = ServerEndPoints["explicit"];
msg = $"Forcing connection to {expli}";
Logger.LogDebug(msg);
EFT.UI.ConsoleScreen.Log(msg);
Expand Down

0 comments on commit 77ce9a2

Please sign in to comment.