Fix guildbank itemcount always 0

This commit is contained in:
Robin 2021-01-24 15:28:45 +01:00
parent d7361b37bb
commit 791bc100fe
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@ local function gbagLoop(id)
res[guildname] = res[guildname] or {
[dName] = 0
}
local tab = res[guildname][dName]
tab = tab or 0
tab = tab + b['count']
res[guildname][dName] = res[guildname][dName] + b['count']
end
end
end