- fix bug with comparing rep

- fix travellingmerchant
This commit is contained in:
Mustache Dom committed 2025-08-11 16:49:24 -06:00
1 parent ca50437751
commit a079efd5c8
6 files changed
+26 -20

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ RegisterServerEvent('md-drugs:server:makepowder', function(num)
end
local tier = 'tier1'
if Config.TierSystem then
local coke = getRep(src, 'coke')
local coke = tonumber(getRep(src, 'coke'))
if coke > Config.Tier1 and coke <= Config.Tier2 then
tier = 'tier2'
elseif coke > Config.Tier2 then