1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00

pirates: fix weird new import bug

This commit is contained in:
danielmartin0 2024-09-25 16:14:05 +01:00 committed by Gerkiz
parent bb1b301efd
commit 305f2aef35

View File

@ -1764,6 +1764,11 @@ function Public.event_on_chunk_generated(event)
if scope.chunk_structures then chunk_structures_fn = scope.chunk_structures end
end
if not terrain_fn then
log('[WARN]: no terrain function')
return
end
if not width then
width = 999
log('no surface width? ' .. type)