Fix for Hot-Reloading
Changes to MatchmakingManager resulted in VMF having a nil value for _ingame_ui after hot-reloading, breaking all custom views.
This commit is contained in:
parent
5c8aa7cba5
commit
e88fde7d04
1 changed files with 1 additions and 1 deletions
|
@ -398,4 +398,4 @@ end
|
||||||
-- #####################################################################################################################
|
-- #####################################################################################################################
|
||||||
|
|
||||||
-- If VMF is reloaded mid-game, get ingame_ui.
|
-- If VMF is reloaded mid-game, get ingame_ui.
|
||||||
_ingame_ui = Managers.matchmaking and Managers.matchmaking[VT1 and "ingame_ui" or "_ingame_ui"]
|
_ingame_ui = (VT1 and Managers.matchmaking and Managers.matchmaking.ingame_ui) or (Managers.ui and Managers.ui._ingame_ui)
|
||||||
|
|
Loading…
Add table
Reference in a new issue