File tree Expand file tree Collapse file tree
data/source-python/entities/csgo
packages/source-python/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ srv_check = False
55
66 # _ZN17CBaseCombatWeapon13PrimaryAttackEv
77 [[primary_attack]]
8- offset_linux = 316
9- offset_windows = 310
8+ offset_linux = 318
9+ offset_windows = 312
1010
1111 # _ZN17CBaseCombatWeapon13SecondaryAttackEv
1212 [[secondary_attack]]
13- offset_linux = 317
14- offset_windows = 311
13+ offset_linux = 319
14+ offset_windows = 313
1515
1616
1717[property]
Original file line number Diff line number Diff line change 1212)
1313# Core
1414from core import AutoUnload
15+ # Cvars
16+ from cvars .public import PublicConVar
1517# Hooks
1618from hooks .exceptions import except_hooks
1719# Paths
@@ -246,7 +248,7 @@ def print_plugins(self):
246248 for permission , description in info .permissions :
247249 message += ' {}:' .format (permission ).ljust (30 ) + description + '\n '
248250
249- if info .public_convar is not None :
251+ if isinstance ( info .public_convar , PublicConVar ) :
250252 message += ' public convar: {}\n ' .format (info .public_convar .name )
251253
252254 for attr in info .display_in_listing :
You can’t perform that action at this time.
0 commit comments