File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
addons/source-python/packages/source-python/cvars Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 66# >> IMPORTS
77# =============================================================================
88# Source.Python Imports
9- # Core
10- from core import AutoUnload
119# Cvars
12- from _cvars import ConVar
13- from _cvars import SP_CVAR_DLL_IDENTIFIER
14- from _cvars import _Cvar
1510from cvars .flags import ConVarFlags
1611
1712
2116# Source.Python Imports
2217# Cvars
2318from _cvars import cvar
19+ from _cvars import ConVar
20+ from _cvars import SP_CVAR_DLL_IDENTIFIER
21+ from _cvars import _Cvar
2422
2523
2624# =============================================================================
3028 'SP_CVAR_DLL_IDENTIFIER' ,
3129 'cvar' ,
3230 )
33-
34-
35- # =============================================================================
36- # >> INITIALIZATION
37- # =============================================================================
38- # Inject AutoUnload into ConVar's inheritance tree so that custom instances
39- # are kept alive until the plugin creating them remains loaded.
40- ConVar .__bases__ = (AutoUnload ,) + ConVar .__bases__
You can’t perform that action at this time.
0 commit comments