Skip to content

Commit

Permalink
Fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
azalty committed Apr 9, 2021
1 parent 87b955c commit 5390653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified plugins/no_dupe_account.smx
Binary file not shown.
2 changes: 2 additions & 0 deletions scripting/no_dupe_account.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,8 @@ public void OnCheckSQLPlayer2(Handle owner, Handle hndl, char [] error, any data
return;
}

SQL_FetchRow(hndl); // row should always exist

g_iClientDatabaseCSGOLevel[client] = SQL_FetchInt(hndl, 0);
g_iClientDatabaseCSGOCoin[client] = SQL_FetchInt(hndl, 1);
g_bPrime[client] = !!SQL_FetchInt(hndl, 2); // !!int converts it to bool
Expand Down

0 comments on commit 5390653

Please sign in to comment.