Fix compiling with tf2_stocks

This commit is contained in:
FortyTwoFortyTwo
2023-08-30 22:08:45 +02:00
committed by Your Name
parent e565c83494
commit 62f08a31fc
+2 -2
View File
@@ -431,7 +431,7 @@ stock int TF2_GetPlayerResourceData(int client, TFResourceType type)
return -1; return -1;
} }
int entity = TF2_GetResourceEntity(); int entity = GetPlayerResourceEntity();
if (entity == -1) if (entity == -1)
{ {
@@ -468,7 +468,7 @@ stock bool TF2_SetPlayerResourceData(int client, TFResourceType type, any value)
return false; return false;
} }
int entity = TF2_GetResourceEntity(); int entity = GetPlayerResourceEntity();
if (entity == -1) if (entity == -1)
{ {