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:
parent
bb1b301efd
commit
305f2aef35
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user