fix playback_time on dirty demos

This commit is contained in:
BotoX 2021-05-22 19:49:45 +02:00
parent 3a4784bdea
commit 3b723a64e0

View File

@ -58,7 +58,7 @@ void Logic::Finish(bool dirty)
if (dirty)
{
data["demoheader"]["playback_ticks"] = curTick;
data["demoheader"]["playback_time"] = curTick * context->fTickRate;
data["demoheader"]["playback_time"] = curTick * context->fTickInterval;
data["demoheader"]["playback_frames"] = context->curFrame;
}