fix wrong variable
This commit is contained in:
parent
9af5f80447
commit
cf3da4c023
@ -589,7 +589,7 @@ export default class CarModule extends Module {
|
||||
aura: common.sanitizeInput(cars.aura),
|
||||
auraMotif: common.sanitizeInput(cars.auraMotif),
|
||||
rgStamp: common.sanitizeInput(body.rgStamp),
|
||||
lastPlayed: date
|
||||
lastPlayedAt: date
|
||||
}
|
||||
|
||||
// Update the car info
|
||||
|
@ -381,11 +381,11 @@ export default class UserModule extends Module {
|
||||
carStates[i].eventJoined = true;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_QUALIFIED
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
// Current date is OCM qualifying day
|
||||
@ -419,11 +419,11 @@ export default class UserModule extends Module {
|
||||
carStates[i].eventJoined = true;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_PARTICIPATED
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
// Current date is OCM ended
|
||||
@ -457,11 +457,11 @@ export default class UserModule extends Module {
|
||||
carStates[i].eventJoined = true;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_QUALIFIED
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
carStates[i].eventJoined = false;
|
||||
carStates[i].competitionState = wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user