From 68bfc25074864917d146135848691312971abc8f Mon Sep 17 00:00:00 2001 From: RektInator Date: Sun, 26 Feb 2017 21:49:12 +0100 Subject: [PATCH] [Dedicated] Hopefully fixes hostmigration. --- src/Components/Modules/Dedicated.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Components/Modules/Dedicated.cpp b/src/Components/Modules/Dedicated.cpp index 5345e6db..779b54e3 100644 --- a/src/Components/Modules/Dedicated.cpp +++ b/src/Components/Modules/Dedicated.cpp @@ -410,6 +410,9 @@ namespace Components Utils::Hook::Nop(0x45148B, 5); // Disable splash screen + // do not trigger host migration, even if the server is a 'bad host' + Utils::Hook::Set(0x626AA8, 0xEB); + // isHost script call return 0 Utils::Hook::Set(0x5DEC04, 0);