diff --git a/game/engine/generator/map/Static.lua b/game/engine/generator/map/Static.lua index fec68a4401314a00782b61ed9916596e8a097845..ac37464c75205ab281aadf4eb086d880da059bc1 100644 --- a/game/engine/generator/map/Static.lua +++ b/game/engine/generator/map/Static.lua @@ -46,6 +46,9 @@ function _M:loadMap(file) self.gen_map = m self.tiles = t + + self.map.w = m.w + self.map.h = m.h end function _M:resolve(typ, c)