1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2025-02-26 22:28:59 +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; let period = 1;
// Count how many period // Count how many period
while(competitionPeriodStartTimestamp < ocmEventDate.competitionEndAt) while(competitionPeriodStartTimestamp < ocmEventDate.competitionCloseAt)
{ {
// Count period closing timestamp // Count period closing timestamp

View File

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