mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
LLAPITransport: fix localhost connections
This commit is contained in:
parent
1cc125d6c6
commit
de4b08d066
@ -93,6 +93,9 @@ public override bool ClientConnected()
|
|||||||
|
|
||||||
public override void ClientConnect(string address)
|
public override void ClientConnect(string address)
|
||||||
{
|
{
|
||||||
|
// LLAPI can't handle 'localhost'
|
||||||
|
if (address.ToLower() == "localhost") address = "127.0.0.1";
|
||||||
|
|
||||||
HostTopology hostTopology = new HostTopology(connectionConfig, 1);
|
HostTopology hostTopology = new HostTopology(connectionConfig, 1);
|
||||||
|
|
||||||
// important:
|
// important:
|
||||||
|
Loading…
Reference in New Issue
Block a user