1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-18 16:16:35 +09:00

Merge pull request #90 from CallumDev/patch-1

Fix sending broadcast packets
This commit is contained in:
lidgren
2017-12-06 23:24:57 +01:00
committed by GitHub

View File

@@ -141,7 +141,7 @@ namespace Lidgren.Network
ba = NetUtility.GetCachedBroadcastAddress(); ba = NetUtility.GetCachedBroadcastAddress();
// TODO: refactor this check outta here // TODO: refactor this check outta here
if (target.Address == ba) if (target.Address.Equals(ba))
{ {
// Some networks do not allow // Some networks do not allow
// a global broadcast so we use the BroadcastAddress from the configuration // a global broadcast so we use the BroadcastAddress from the configuration