mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-05 18:20:43 +03:00
Added vgui_screens_mapbase.txt to level init process for loading shared VGui screens
This commit is contained in:
parent
7221aab090
commit
92ec640db3
@ -212,8 +212,11 @@ public:
|
|||||||
|
|
||||||
RefreshMapName();
|
RefreshMapName();
|
||||||
|
|
||||||
// Shared Mapbase localization file
|
// Shared Mapbase scripts to avoid overwriting mod files
|
||||||
g_pVGuiLocalize->AddFile( "resource/mapbase_%language%.txt" );
|
g_pVGuiLocalize->AddFile( "resource/mapbase_%language%.txt" );
|
||||||
|
#ifdef CLIENT_DLL
|
||||||
|
PanelMetaClassMgr()->LoadMetaClassDefinitionFile( "scripts/vgui_screens_mapbase.txt" );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnRestore()
|
virtual void OnRestore()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user