Skip to content
Snippets Groups Projects
Commit 8be7c1a0 authored by James R.'s avatar James R.
Browse files

Fix double micros conv.

blame e0a307da
parent 46ca9613
No related branches found
No related tags found
1 merge request!1307Hooklib refactor
......@@ -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++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment