Update bots

This commit is contained in:
BrentVL-1952840 2023-03-04 17:34:04 +01:00
parent 68c2459b9c
commit daa32e9080

View File

@ -118,7 +118,7 @@ namespace bots
void post_unpack() override void post_unpack() override
{ {
utils::hook::jump(game::select(0x141653B70, 0x1402732E0), get_bot_name); utils::hook::jump(game::select(0x141653B70, 0x1402732E0), get_bot_name);
utils::hook::call(game::select(0x142249AF7, 0x14052E53A), format_bot_string); utils::hook::call(game::select(0x142249097, 0x14052E53A), format_bot_string);
if (!game::is_server()) if (!game::is_server())
{ {
@ -157,4 +157,4 @@ namespace bots
}; };
} }
REGISTER_COMPONENT(bots::component) REGISTER_COMPONENT_WORKING(bots::component)