So, this occurred for me once placing the initial round of bricks was done. I was able to resolve the issue by simply adding an if check around the problem, which is in the function array_shallowcopy(source) (which is in control.lua)
It was:
function array_shallowcopy(source)
local dest = {}
for i=1, #source do
dest[i] = source[i]
end
return dest
end
It is now:
function array_shallowcopy(source)
local dest = {}
if source then
for i=1, #source do
dest[i] = source[i]
end
end
return dest
end
This allowed me to repeat the same test and have it not crash.
The game by default allows you to use the mod within a zip; you'll need to extract the zip, then delete the zip after extracted, and you'll need to make sure the folder name are extracting it to matches the zip minus the .zip, so, for this,
concreep-refilled_redux_1.0.2.zip should be extracted to concreep-refilled_redux_1.0.2 or you can extract it to concreep-refilled_redux
control.lua should be within the first level of the extraction, so it should be concreep-refilled_redux_1.0.2/control.lua or concreep-refilled_redux/control.lua
Hope this helps!