Merge branch 'master'

This commit is contained in:
momo5502 2016-01-08 02:21:06 +01:00
commit 584cade086

View File

@ -12,12 +12,14 @@ namespace Components
News::News()
{
News::Motd = Utils::WebIO("IW4x", "http://localhost/iw4/motd.txt").Get();
if (!News::Motd.size())
{
News::Motd = "Welcome to ReactIW4x Multiplayer!";
}
Localization::Set("MPUI_CHANGELOG_TEXT", Utils::WebIO("IW4x", "http://localhost/iw4/changelog.txt").Get().data());
// Patch motd setting
Utils::Hook(0x60BF19, News::GetMotd, HOOK_CALL).Install()->Quick();
}