fix ip in intial packet (send own ip, not foreign)
This commit is contained in:
@@ -58,7 +58,7 @@ namespace PolyChat.Models
|
||||
private void OnConnect()
|
||||
{
|
||||
Debug.WriteLine("--- Sending initial packet to server ---");
|
||||
Client.Emit("initial", IP);
|
||||
Client.Emit("initial", Controller.getIP());
|
||||
Debug.WriteLine("--- Connection successfull ---");
|
||||
Connected = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user