mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-04-19 19:52:53 +00:00
23 lines
416 B
C++
23 lines
416 B
C++
#include <stdinc.hpp>
|
|
|
|
#include <loader/component_loader.hpp>
|
|
#include <utils/hook.hpp>
|
|
|
|
namespace dvar_patches
|
|
{
|
|
void dvar_set_from_string_by_name_stub(const char*, const char*)
|
|
{
|
|
return;
|
|
}
|
|
|
|
class component final : public component_interface
|
|
{
|
|
public:
|
|
void post_unpack() override
|
|
{
|
|
utils::hook::call(0x59C0EF, dvar_set_from_string_by_name_stub);
|
|
}
|
|
};
|
|
}
|
|
|
|
REGISTER_COMPONENT(dvar_patches::component) |