Commit 50fddc3f7abe55754fa9800e44e7dc77dab97b0d
1 parent
26aeaf48
bug
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/adv/AdvBattle.lua
| @@ -107,6 +107,7 @@ end | @@ -107,6 +107,7 @@ end | ||
| 107 | 107 | ||
| 108 | function Battle:initMapEnemys(mapIdx) | 108 | function Battle:initMapEnemys(mapIdx) |
| 109 | self.enemys[mapIdx] = {} | 109 | self.enemys[mapIdx] = {} |
| 110 | + self.builds[mapIdx] = {} | ||
| 110 | local map = self.adv.maps[mapIdx] | 111 | local map = self.adv.maps[mapIdx] |
| 111 | if map then | 112 | if map then |
| 112 | for _, room in pairs(map.rooms) do | 113 | for _, room in pairs(map.rooms) do |