[Custom Views] Little style changes [2]

This commit is contained in:
Azumgi 2019-01-24 22:50:59 +03:00
parent 205dd6fb8c
commit cd56a2c49d

View file

@ -383,12 +383,12 @@ end
-- If VMF is reloaded mid-game, get ingame_ui.
local ingame_ui_exists, ingame_ui_return = pcall(function()
if VT1 then
if VT1 then
return Managers.player.network_manager.matchmaking_manager.matchmaking_ui.ingame_ui
else
else
return Managers.player.network_manager.matchmaking_manager._ingame_ui
end
end)
end)
if ingame_ui_exists then
_ingame_ui = ingame_ui_return
end