1
0
mirror of synced 2025-02-21 21:00:13 +01:00
This commit is contained in:
ghkkk090 2022-08-16 12:30:21 +07:00
parent 59492f78d9
commit 6f21526ff9
2 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export default class GhostModule extends Module {
let period = 1;
// Count how many period
while(competitionPeriodStartTimestamp < ocmEventDate.competitionEndAt)
while(competitionPeriodStartTimestamp < ocmEventDate.competitionCloseAt)
{
// Count period closing timestamp

View File

@ -288,6 +288,10 @@ export async function saveGhostBattleResult(body: wm.protobuf.SaveGameResultRequ
if(body.rgResult?.periodId){
saveExOCM.periodId = body.rgResult?.periodId!;
}
else
{
saveExOCM.periodId = 0;
}
if(body.rgResult?.brakingPoint){
saveExOCM.brakingPoint = body.rgResult?.brakingPoint!;
}