Skip to content

Commit

Permalink
Fix loop item in compose menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Kxnrl committed May 14, 2020
1 parent 5f704e0 commit 5f2e714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@ void DisplayComposeMenu(int client, bool last)

int uid = UTIL_GetClientItemId(client, i);

if(uid < 0 || g_eClientItems[client][uid][iDateOfExpiration] != 0 || g_eClientItems[client][uid][iPriceOfPurchase] < 1)
if(uid < 0 || g_eClientItems[client][uid][iDateOfExpiration] != 0)
continue;

IntToString(i, m_szId, 8);
Expand Down

0 comments on commit 5f2e714

Please sign in to comment.