mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 06:50:06 +00:00
Fix racing timestamps
This commit is contained in:
parent
e915c54ed0
commit
8a2073d081
@ -106,7 +106,7 @@ void RacingManager::racingEnd(CNSocket* sock, CNPacketData* data) {
|
|||||||
postRanking.RingCount = EPRaces[sock].ringCount;
|
postRanking.RingCount = EPRaces[sock].ringCount;
|
||||||
postRanking.Score = score;
|
postRanking.Score = score;
|
||||||
postRanking.Time = timeDiff;
|
postRanking.Time = timeDiff;
|
||||||
postRanking.Timestamp = now;
|
postRanking.Timestamp = getTimestamp();
|
||||||
Database::postRaceRanking(postRanking);
|
Database::postRaceRanking(postRanking);
|
||||||
|
|
||||||
// ...then we get the top ranking, which may or may not be what we just submitted
|
// ...then we get the top ranking, which may or may not be what we just submitted
|
||||||
|
Loading…
Reference in New Issue
Block a user