1
0
mirror of synced 2024-12-05 03:27:57 +01:00

Tickets functional

This commit is contained in:
Rin 2022-07-16 15:54:01 +01:00
parent 1029e9b019
commit c77c1b2a67

View File

@ -89,6 +89,7 @@ export default class GameModule extends Module {
state: true,
}
},
unusedTickets: true
}
});
if (!user) {
@ -169,7 +170,8 @@ export default class GameModule extends Module {
userId: user.id,
banapassportAmId: 1,
mbId: 1,
tutorials: user.tutorials
tutorials: user.tutorials,
unusedCarTickets: user.unusedTickets,
}
if (user.userBanned) {
msg.error = wm.wm.protobuf.ErrorCode.ERR_ID_BANNED;