Always load proper ffotd

This commit is contained in:
momo5502 2022-09-24 15:16:26 +02:00
parent dd894951cf
commit c8b3012592

View File

@ -434,6 +434,11 @@ namespace demonware
original_imports[result->first] = result->second;
}
const char* get_ffotd_name()
{
return "core_ffotd_tu32_593";
}
}
class component final : public component_interface
@ -481,7 +486,7 @@ namespace demonware
utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/");
utils::hook::set<uint32_t>(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff
utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized name
}
void pre_destroy() override