Update scheduler

This commit is contained in:
BrentVL-1952840 2023-03-04 15:55:41 +01:00
parent eee4fc5cd1
commit 128df546f1

View File

@ -168,12 +168,12 @@ namespace scheduler
{ {
if (!game::is_server()) if (!game::is_server())
{ {
r_end_frame_hook.create(0x142273560_g, r_end_frame_stub); r_end_frame_hook.create(0x142272B00_g, r_end_frame_stub);
// some func called before R_EndFrame, maybe SND_EndFrame? // some func called before R_EndFrame, maybe SND_EndFrame?
} }
//g_run_frame_hook.create(0x14065C360_g, server_frame_stub); // GlassSv_Update //g_run_frame_hook.create(0x14065C360_g, server_frame_stub); // GlassSv_Update
main_frame_hook.create(game::select(0x1420F9860, 0x1405020E0), main_frame_stub); main_frame_hook.create(game::select(0x1420F8E00, 0x1405020E0), main_frame_stub);
// Com_Frame_Try_Block_Function // Com_Frame_Try_Block_Function
} }
@ -188,4 +188,4 @@ namespace scheduler
}; };
} }
REGISTER_COMPONENT(scheduler::component) REGISTER_COMPONENT_WORKING(scheduler::component)