From 9408af88e1406bc03240c2bdb04cb97110d04e61 Mon Sep 17 00:00:00 2001 From: Tau Date: Sun, 28 Apr 2019 11:16:14 -0400 Subject: [PATCH] Add profile team leader flag --- src/idz/encoder/loadProfile2.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/idz/encoder/loadProfile2.ts b/src/idz/encoder/loadProfile2.ts index 3282ab0..cf196f9 100644 --- a/src/idz/encoder/loadProfile2.ts +++ b/src/idz/encoder/loadProfile2.ts @@ -75,6 +75,7 @@ export function loadProfile2(res: LoadProfileResponse2) { buf.writeUInt16LE(res.unlocks.gauges, 0x00b8); buf.writeUInt32LE(res.unlocks.lastMileageReward, 0x01e8); buf.writeUInt16LE(res.unlocks.music, 0x01ec); + buf.writeUInt16LE(1, 0x037c); // Team leader mission(res.missions.team).copy(buf, 0x038a); buf.writeUInt16LE(0xffff, 0x0388); // [1] buf.writeUInt32LE(res.profileId, 0x03b8);