Added vgui_screens_mapbase.txt to level init process for loading shared VGui screens

This commit is contained in:
Blixibon 2021-03-12 15:07:05 -06:00
parent 7221aab090
commit 92ec640db3

View File

@ -212,8 +212,11 @@ public:
RefreshMapName();
// Shared Mapbase localization file
// Shared Mapbase scripts to avoid overwriting mod files
g_pVGuiLocalize->AddFile( "resource/mapbase_%language%.txt" );
#ifdef CLIENT_DLL
PanelMetaClassMgr()->LoadMetaClassDefinitionFile( "scripts/vgui_screens_mapbase.txt" );
#endif
}
virtual void OnRestore()