Skip to content

Commit

Permalink
Fixed #19 another time
Browse files Browse the repository at this point in the history
  • Loading branch information
azalty committed Apr 9, 2021
1 parent 6e5bac2 commit 87b955c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified plugins/no_dupe_account.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion scripting/no_dupe_account.sp
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public Action Timer_GetResource(Handle timer, int client)
int activeCoin = GetEntProp(resourceEnt, Prop_Send, "m_nActiveCoinRank", _, client);
if (activeCoin)
g_iClientDatabaseCSGOCoin[client] = activeCoin;
if (g_iClientDatabaseCSGOCoin[client])
if (g_iClientDatabaseCSGOCoin[client] > 0) // Coin could previously be set to -1
{
if (cvarCoin.IntValue == 1)
{
Expand Down

0 comments on commit 87b955c

Please sign in to comment.