Skip to content
Snippets Groups Projects
Commit 39810397 authored by DarkGod's avatar DarkGod
Browse files

silly

parent d51515fc
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -24,7 +24,7 @@ require "engine.Generator"
--- @classmod engine.generator.map.Hexacle
module(..., package.seeall, class.inherit(engine.Generator))
function _M:init(zone, map, grid_list, data)
function _M:init(zone, map, level, data)
engine.Generator.init(self, zone, map, level)
data.segment_wide_chance = data.segment_wide_chance or 70
data.nb_segments = data.nb_segments or 8
......
......@@ -24,7 +24,7 @@ require "engine.Generator"
--- @classmod engine.generator.map.Maze
module(..., package.seeall, class.inherit(engine.Generator))
function _M:init(zone, map, grid_list, data)
function _M:init(zone, map, level, data)
engine.Generator.init(self, zone, map, level)
self.data = data
data.widen_w = data.widen_w or 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment