1
0
mirror of synced 2024-11-12 01:10:47 +01:00

fix crown battle saving (3)

This commit is contained in:
ghkkk090 2022-07-29 16:23:34 +07:00
parent 8e21913ca7
commit 1da8c59a47

View File

@ -298,7 +298,7 @@ export default class GameModule extends Module {
data: saveEx
});
if (body.rgResult?.acquireCrown !== false || body.rgResult?.acquireCrown !== null && body.rgResult?.acquireCrown !== undefined) {
if (body.rgResult?.acquireCrown !== false && body.rgResult?.acquireCrown !== null && body.rgResult?.acquireCrown !== undefined) {
let saveExCrown: any = {};
saveExCrown.carId = body.carId;
if(body.rgResult?.path !== null && body.rgResult?.path !== undefined){