1
0
mirror of synced 2025-02-21 21:00:13 +01:00

please work please work please work

This commit is contained in:
Rin 2022-07-18 13:19:06 +01:00
parent add15d4394
commit a8fd52836e

View File

@ -629,6 +629,8 @@ export default class GameModule extends Module {
items: true, items: true,
} }
}); });
// This is fucking terrible
let longLoseBits = Long.fromString(car!.stLoseBits.toString());
let msg = { let msg = {
error: wm.wm.protobuf.ErrorCode.ERR_SUCCESS, error: wm.wm.protobuf.ErrorCode.ERR_SUCCESS,
car: { car: {
@ -642,7 +644,8 @@ export default class GameModule extends Module {
auraMotifAutoChange: false, auraMotifAutoChange: false,
screenshotCount: 0, screenshotCount: 0,
transferred: false, transferred: false,
...car! ...car!,
stLoseBits: longLoseBits,
}; };
let resp = wm.wm.protobuf.LoadCarResponse.encode(msg); let resp = wm.wm.protobuf.LoadCarResponse.encode(msg);
let end = resp.finish(); let end = resp.finish();