P2P connectivity

This commit is contained in:
Sardelka
2022-08-08 17:03:41 +08:00
parent 09bb121ffe
commit c3d7c2b335
19 changed files with 313 additions and 149 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ namespace RageCoop.Client.Scripting
Args=args,
Hash=eventHash
};
Networking.Send(p, ConnectionChannel.Event, Lidgren.Network.NetDeliveryMethod.ReliableOrdered);
Networking.SendTo(p,Networking.ServerConnection, ConnectionChannel.Event, Lidgren.Network.NetDeliveryMethod.ReliableOrdered);
}
/// <summary>