From e99849b03f925288bccde2c43adf0621afbd50fa Mon Sep 17 00:00:00 2001 From: Rin Date: Mon, 18 Jul 2022 14:23:58 +0100 Subject: [PATCH] ADD MORE DEBUGGING STUFF --- src/modules/game.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/game.ts b/src/modules/game.ts index 2961b02..e5ec3d5 100644 --- a/src/modules/game.ts +++ b/src/modules/game.ts @@ -56,7 +56,8 @@ export default class GameModule extends Module { saveEx.stCompleted100Episodes = body.stResult!.stCompleted_100Episodes!; } console.log(body); - await prisma.car.update({ + console.log(saveEx); + let c = await prisma.car.update({ where: { carId: body.carId }, @@ -70,7 +71,8 @@ export default class GameModule extends Module { //stConsecutiveWinsMax: maxConsecutiveWins, ...saveEx } - }) + }); + console.log(c); break; } case wm.wm.protobuf.GameMode.MODE_TIME_ATTACK: