Fix racing timestamps

This commit is contained in:
Gent S 2020-12-22 01:04:46 -05:00
parent e915c54ed0
commit 8a2073d081

View File

@ -106,7 +106,7 @@ void RacingManager::racingEnd(CNSocket* sock, CNPacketData* data) {
postRanking.RingCount = EPRaces[sock].ringCount;
postRanking.Score = score;
postRanking.Time = timeDiff;
postRanking.Timestamp = now;
postRanking.Timestamp = getTimestamp();
Database::postRaceRanking(postRanking);
// ...then we get the top ranking, which may or may not be what we just submitted