Workaround for #98
This commit is contained in:
parent
9e23355d65
commit
98fbfb4709
@ -63,6 +63,11 @@ function menu_xboxlive(f16_arg0, f16_arg1)
|
||||
Engine.ExecNow("eliteclan_refresh", Engine.GetFirstActiveController())
|
||||
end
|
||||
|
||||
menu:addElement(LUI.UITimer.new(4000, "vl"))
|
||||
menu:registerEventHandler("vl", function()
|
||||
game:virtuallobbypresentable()
|
||||
end)
|
||||
|
||||
return menu
|
||||
end
|
||||
|
||||
|
@ -337,6 +337,12 @@ namespace ui_scripting
|
||||
};
|
||||
}
|
||||
|
||||
game_type["virtuallobbypresentable"] = [](const game&)
|
||||
{
|
||||
static const auto presentable = ::game::Dvar_FindVar("virtualLobbyPresentable");
|
||||
presentable->current.enabled = true;
|
||||
};
|
||||
|
||||
auto updater_table = table();
|
||||
lua["updater"] = updater_table;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user