Fix double micros conv.

blame e0a307da15
This commit is contained in:
James R 2021-06-11 18:31:38 -07:00
parent 46ca9613c6
commit 8be7c1a03d

View file

@ -624,7 +624,7 @@ void LUA_HookThinkFrame(void)
if (cv_perfstats.value == 3)
{
lua_Debug ar;
time_taken = I_PreciseToMicros(I_GetPreciseTime() - time_taken);
time_taken = I_GetPreciseTime() - time_taken;
lua_getinfo(gL, ">S", &ar);
PS_SetThinkFrameHookInfo(hook_index, time_taken, ar.short_src);
hook_index++;