mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2025-02-26 19:11:41 +01:00
fix ocm
This commit is contained in:
parent
59492f78d9
commit
6f21526ff9
@ -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
|
||||||
|
@ -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!;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user