Removed write of every packet

This commit is contained in:
2026-03-13 17:20:05 +01:00
parent 4e9651b08b
commit 7686341107
3 changed files with 15 additions and 11 deletions

View File

@@ -246,13 +246,13 @@ export class UnityWebSocket {
return;
}
writeFileSync(
join(
this._Main.dataPath,
`tempdebug-${message.type}-${new Date().getTime()}.json`,
),
JSON.stringify(message, null, 4),
);
// writeFileSync(
// join(
// this._Main.dataPath,
// `tempdebug-${message.type}-${new Date().getTime()}.json`,
// ),
// JSON.stringify(message, null, 4),
// );
switch (message.type) {
case 'heartbeat_data':