Skip to content

Commit

Permalink
Clear processing after finished
Browse files Browse the repository at this point in the history
  • Loading branch information
ElPumpo committed Dec 1, 2018
1 parent fd6931f commit 5823610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ AddEventHandler('esx_drugs:processCannabis', function()

TriggerClientEvent('esx:showNotification', _source, _U('weed_processed'))
end

playersProcessingCannabis[_source] = nil
end)
else
print(('esx_drugs: %s attempted to exploit weed processing!'):format(GetPlayerIdentifiers(source)[1]))
Expand Down

0 comments on commit 5823610

Please sign in to comment.