Update and rename patches.cpp to dedi_patches.cpp

This commit is contained in:
m 2023-01-09 16:23:29 -06:00 committed by GitHub
parent f36ca5600f
commit f9939aa2ab

View File

@ -15,15 +15,12 @@ namespace patches
} }
} }
struct component final : generic_component struct component final : server_component
{ {
void post_unpack() override void post_unpack() override
{ {
if (game::is_server()) // Fix infinite loop
{ utils::hook::jump(0x1402E86B0_g, scr_are_textures_loaded_stub);
// Fix infinite loop
utils::hook::jump(0x1402E86B0_g, scr_are_textures_loaded_stub);
}
} }
}; };
} }