Skip to content

Commit

Permalink
Merge pull request #53 from ShadowsAdi/fix-giveaway-bug
Browse files Browse the repository at this point in the history
Fix `csgor_giveaway` bug
  • Loading branch information
ShadowsAdi authored Sep 13, 2024
2 parents d15e0b6 + 5165641 commit 86bc5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/amxmodx/scripting/csgor_giveaway.sma
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public ev_NewRound()
if(index != -1)
{
client_print_color(0, print_chat, "^4%s^1 %L", CSGO_TAG, LANG_SERVER, "CSGOR_GIVEAWAY_WON_BY", index, g_eSkin[szSkin])
g_eCvars[iType] ? csgor_set_user_statt_skins(index, g_eSkin[iSkin], 1) : csgor_set_user_skins(index, g_eSkin[iSkin], 1)
g_eCvars[iType] ? csgor_set_user_statt_skins(index, g_eSkin[iSkin], csgor_get_user_statt_skins(id, g_eSkin[iSkin]) + 1) : csgor_set_user_skins(index, g_eSkin[iSkin], csgor_get_user_skins(id, g_eSkin[iSkin]))
g_bOpened = false
}
}
Expand Down

0 comments on commit 86bc5f8

Please sign in to comment.