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 6
6
# >> IMPORTS
7
7
# =============================================================================
8
8
# Source.Python Imports
9
- # Core
10
- from core import AutoUnload
11
9
# Cvars
12
- from _cvars import ConVar
13
- from _cvars import SP_CVAR_DLL_IDENTIFIER
14
- from _cvars import _Cvar
15
10
from cvars .flags import ConVarFlags
16
11
17
12
21
16
# Source.Python Imports
22
17
# Cvars
23
18
from _cvars import cvar
19
+ from _cvars import ConVar
20
+ from _cvars import SP_CVAR_DLL_IDENTIFIER
21
+ from _cvars import _Cvar
24
22
25
23
26
24
# =============================================================================
30
28
'SP_CVAR_DLL_IDENTIFIER' ,
31
29
'cvar' ,
32
30
)
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