fixes the ID reset for weed buy

This commit is contained in:
Damen DeBerry 2019-03-20 02:05:04 +00:00
parent 4f71af4c99
commit 213102ca21

View File

@ -329,6 +329,7 @@ stock Weed_GetPlantLimit( playerid )
stock Weed_ResetSellingProperties( playerid ) stock Weed_ResetSellingProperties( playerid )
{ {
p_WeedDealer[ playerid ] = INVALID_PLAYER_ID;
p_WeedSellingGrams[ playerid ] = 0; p_WeedSellingGrams[ playerid ] = 0;
p_WeedSellingPrice[ playerid ] = 0; p_WeedSellingPrice[ playerid ] = 0;
return 1; return 1;