fix playback_time on dirty demos
This commit is contained in:
parent
3a4784bdea
commit
3b723a64e0
@ -58,7 +58,7 @@ void Logic::Finish(bool dirty)
|
|||||||
if (dirty)
|
if (dirty)
|
||||||
{
|
{
|
||||||
data["demoheader"]["playback_ticks"] = curTick;
|
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;
|
data["demoheader"]["playback_frames"] = context->curFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user