Fix hostmigration bug.
This commit is contained in:
parent
599d7c692e
commit
5476bc06a2
@ -17,6 +17,8 @@ namespace Components
|
||||
info.name = "dlc2_ui_mp";
|
||||
data.push_back(info);
|
||||
|
||||
data.push_back({ "weapons_mp", 1, 0 });
|
||||
|
||||
Game::DB_LoadXAssets(data.data(), data.size(), sync);
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -181,6 +181,10 @@ namespace Components
|
||||
Utils::Hook::Set<BYTE>(0x420A6C, 0);
|
||||
Utils::Hook::Set<char*>(0x420A6E, "xblive_privateserver");
|
||||
|
||||
// Remove migration shutdown, it causes crashes and will be destroyed when erroring anyways
|
||||
Utils::Hook::Nop(0x5A8E1C, 12);
|
||||
Utils::Hook::Nop(0x5A8E33, 11);
|
||||
|
||||
// Enable XP Bar
|
||||
Utils::Hook(0x62A2A7, Party::UIDvarIntStub, HOOK_CALL).Install()->Quick();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user