ncannasse 8 年之前
父節點
當前提交
a639389048
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hxd/net/SteamHost.hx

+ 1 - 0
hxd/net/SteamHost.hx

@@ -253,6 +253,7 @@ class SteamHost extends NetworkHost {
 		super();
 		super();
 		this.gameId = gameId;
 		this.gameId = gameId;
 		isAuth = false;
 		isAuth = false;
+		perPacketBytes += 20; // STEAM header
 		self = new SteamClient(this, steam.Api.getUser());
 		self = new SteamClient(this, steam.Api.getUser());
 		input = new haxe.io.BytesInput(haxe.io.Bytes.alloc(0));
 		input = new haxe.io.BytesInput(haxe.io.Bytes.alloc(0));
 	}
 	}