mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Fixed undeflatable reference
This commit is contained in:
parent
c0eb00763c
commit
7e3864ef19
@ -300,8 +300,8 @@ local Config = {
|
||||
cluster_mode = true,
|
||||
|
||||
-- location of file to find the cluster definition file
|
||||
cluster_file_location = 'map_gen.Diggy.Orepattern.Tendrils',
|
||||
--cluster_file_location = 'map_gen.Diggy.Orepattern.Clusters',
|
||||
ore_pattern = require 'map_gen.Diggy.Orepattern.Tendrils',
|
||||
--ore_pattern = require 'map_gen.Diggy.Orepattern.Clusters',
|
||||
|
||||
},
|
||||
|
||||
|
@ -96,9 +96,9 @@ function ScatteredResources.register(config)
|
||||
|
||||
-- compound cluster spawning
|
||||
local c_mode = config.cluster_mode
|
||||
local c_clusters = require(config.cluster_file_location)
|
||||
if ('table' ~= type(c_clusters)) then
|
||||
error('cluster_file_location invalid')
|
||||
local c_clusters = config.ore_pattern
|
||||
if 'table' ~= type(c_clusters) then
|
||||
error('ore_pattern invalid')
|
||||
end
|
||||
local c_count = 0
|
||||
for _, cluster in ipairs(c_clusters) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user