Commit 53b7e3b5885b3f7b0f31ec2de33ac7170cc31ff0
1 parent
d4720dfd
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/adv/AdvBattle.lua
@@ -151,7 +151,7 @@ function Battle:addEnemy(room, block, mapIdx) | @@ -151,7 +151,7 @@ function Battle:addEnemy(room, block, mapIdx) | ||
151 | return player | 151 | return player |
152 | elseif block:isBuild() then | 152 | elseif block:isBuild() then |
153 | if not block.event.build then | 153 | if not block.event.build then |
154 | - local buildCsv = csvdb["event_buildCsv"][block.event.id] | 154 | + local buildCsv = csvdb["event_buildingCsv"][block.event.id] |
155 | local build = {} | 155 | local build = {} |
156 | build.passives = {} | 156 | build.passives = {} |
157 | for _, id in ipairs(buildCsv.passive:toArray(true, "=")) do | 157 | for _, id in ipairs(buildCsv.passive:toArray(true, "=")) do |