Commit b992f1ca2b60e1eac18565a26f1e14893a13d176
1 parent
f8408529
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/adv/AdvBlock.lua
... | ... | @@ -107,7 +107,7 @@ function Block:randomEvent() |
107 | 107 | end |
108 | 108 | local idx = math.randWeight(pool, 2) |
109 | 109 | local getId = pool[idx][1] |
110 | - local getData = svdb["event_trader_goodsCsv"][getId] | |
110 | + local getData = csvdb["event_trader_goodsCsv"][getId] | |
111 | 111 | if getData.restrict ~= 0 then |
112 | 112 | curHad[curId] = (curHad[curId] or 0) + 1 |
113 | 113 | end | ... | ... |