v1.5.9.2 (Summer Update Hotfix 3)

This commit is contained in:
Regalis11
2024-08-28 12:14:27 +03:00
parent 0aee539762
commit e8920829c9
11 changed files with 18 additions and 11 deletions
@@ -68,7 +68,7 @@ sealed class SteamListenSocket : P2PSocket
public override void OnMessage(Steamworks.Data.Connection connection, Steamworks.Data.NetIdentity identity, IntPtr data, int size, long messageNum, long recvTime, int channel)
{
if (!identity.IsSteamId) { return; }
if (!identity.IsSteamId || data == IntPtr.Zero) { return; }
var endpoint = new SteamP2PEndpoint(new SteamId((Steamworks.SteamId)identity));
var dataArray = new byte[size];