Better fix

This commit is contained in:
Federico Cecchetto
2022-06-25 22:40:37 +02:00
parent 98fbfb4709
commit 100924bc59
2 changed files with 13 additions and 5 deletions

View File

@ -339,8 +339,7 @@ namespace ui_scripting
game_type["virtuallobbypresentable"] = [](const game&)
{
static const auto presentable = ::game::Dvar_FindVar("virtualLobbyPresentable");
presentable->current.enabled = true;
::game::Dvar_SetFromStringByNameFromSource("virtualLobbyPresentable", "1", ::game::DvarSetSource::DVAR_SOURCE_INTERNAL);
};
auto updater_table = table();