fix crown battle saving (3)
This commit is contained in:
parent
8e21913ca7
commit
1da8c59a47
@ -298,7 +298,7 @@ export default class GameModule extends Module {
|
|||||||
data: saveEx
|
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 = {};
|
let saveExCrown: any = {};
|
||||||
saveExCrown.carId = body.carId;
|
saveExCrown.carId = body.carId;
|
||||||
if(body.rgResult?.path !== null && body.rgResult?.path !== undefined){
|
if(body.rgResult?.path !== null && body.rgResult?.path !== undefined){
|
||||||
|
Loading…
Reference in New Issue
Block a user