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
|
||||
if type == 'cornerselling' then
|
||||
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
|
||||
rep.level = rep.level + 1
|
||||
rep.label = Config.CornerSellLevel[rep.level].label
|
||||
|
||||
Reference in new issue
Block a user