We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced883d commit 0d42cc3Copy full SHA for 0d42cc3
addons/source-python/packages/source-python/entities/_base.py
@@ -41,6 +41,7 @@
41
from entities.classes import server_classes
42
from entities.constants import WORLD_ENTITY_INDEX
43
from entities.constants import DamageTypes
44
+from entities.datamaps import InputFunction
45
from entities.helpers import index_from_inthandle
46
from entities.helpers import index_from_pointer
47
from entities.helpers import wrap_entity_mem_func
@@ -230,7 +231,7 @@ def __getattr__(self, attr):
230
231
value = value.__get__(instance)
232
233
# Is the value a dynamic function?
- if isinstance(value, MemberFunction):
234
+ if isinstance(value, (MemberFunction, InputFunction)):
235
236
# Cache the value
237
with suppress(AttributeError):
0 commit comments