Update functions.lua
This commit is contained in:
1 parent
28d4244243
commit
0e55a18676
1 file changed
+1
-1
@@ -139,7 +139,7 @@ function AddRep(source, type, amount)
|
|||||||
end
|
end
|
||||||
if type == 'cornerselling' then
|
if type == 'cornerselling' then
|
||||||
local rep = playerRep[id].cornerselling
|
local rep = playerRep[id].cornerselling
|
||||||
local cornerData = Config.CornerSellLevel[rep.level]
|
local cornerData = Config.Cornerselling.CornerSellLevel[rep.level]
|
||||||
if rep.rep + amount >= cornerData.maxrep then
|
if rep.rep + amount >= cornerData.maxrep then
|
||||||
rep.level = rep.level + 1
|
rep.level = rep.level + 1
|
||||||
rep.label = Config.CornerSellLevel[rep.level].label
|
rep.label = Config.CornerSellLevel[rep.level].label
|
||||||
|
|||||||
Reference in new issue
Block a user