test 1.5
This commit is contained in:
@@ -425,9 +425,9 @@ end
|
|||||||
function MapGen:registerPeak(layerName, category, def)
|
function MapGen:registerPeak(layerName, category, def)
|
||||||
local layer = self:getLayerByName(layerName)
|
local layer = self:getLayerByName(layerName)
|
||||||
|
|
||||||
assert(self:getPeakByPos(layer, category, def.pos) == nil,
|
--assert(self:getPeakByPos(layer, category, def.pos) == nil,
|
||||||
('In the `%s` layer in the `%s` category there is already a peak with coordinates: %s, %s, %s.'):format(
|
--('In the `%s` layer in the `%s` category there is already a peak with coordinates: %s, %s, %s.'):format(
|
||||||
layerName, category, def.pos.x, def.pos.y, def.pos.z))
|
-- layerName, category, def.pos.x, def.pos.y, def.pos.z))
|
||||||
|
|
||||||
---@type MapGen.Peak
|
---@type MapGen.Peak
|
||||||
local peak = Peak:new(def)
|
local peak = Peak:new(def)
|
||||||
|
|||||||
Reference in New Issue
Block a user