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 dc533d7 commit 24104f8Copy full SHA for 24104f8
addons/sourcemod/scripting/mitm/entity.sp
@@ -57,7 +57,7 @@ methodmap Entity
57
g_hEntityProperties = new ArrayList(sizeof(EntityProperties));
58
}
59
60
- int ref = IsValidEdict(entity) ? EntIndexToEntRef(entity) : entity;
+ int ref = IsEntNetworkable(entity) ? EntIndexToEntRef(entity) : entity;
61
62
if (!Entity.IsReferenceTracked(ref))
63
{
@@ -157,7 +157,7 @@ methodmap Entity
157
158
public static bool IsEntityTracked(int entity)
159
160
161
return Entity.IsReferenceTracked(ref);
162
163
0 commit comments