Skip to content

Commit

Permalink
Fix compiling with tf2_stocks
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo authored and psychonic committed Oct 27, 2021
1 parent 7605940 commit 9d7e720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/include/tf2_stocks.inc
Expand Up @@ -431,7 +431,7 @@ stock int TF2_GetPlayerResourceData(int client, TFResourceType type)
return -1;
}

int entity = TF2_GetResourceEntity();
int entity = GetPlayerResourceEntity();

if (entity == -1)
{
Expand Down Expand Up @@ -468,7 +468,7 @@ stock bool TF2_SetPlayerResourceData(int client, TFResourceType type, any value)
return false;
}

int entity = TF2_GetResourceEntity();
int entity = GetPlayerResourceEntity();

if (entity == -1)
{
Expand Down

0 comments on commit 9d7e720

Please sign in to comment.