From 2c61140d1d8dc0a17f24d2a1a3bde9b104d2c641 Mon Sep 17 00:00:00 2001 From: Soggs Date: Thu, 20 May 2021 20:56:16 +0200 Subject: [PATCH] Change the builder to properly avoid water tiles in the starting ore ring. Co-authored-by: grilledham --- map_gen/maps/danger_ores/modules/main_ores_circles.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map_gen/maps/danger_ores/modules/main_ores_circles.lua b/map_gen/maps/danger_ores/modules/main_ores_circles.lua index bba951e7..874ab856 100644 --- a/map_gen/maps/danger_ores/modules/main_ores_circles.lua +++ b/map_gen/maps/danger_ores/modules/main_ores_circles.lua @@ -60,9 +60,9 @@ return function(config) local ores = b.any(shapes) - local starting_ores = b.change_collision_tile(start_ore_shape, 'water-tile', 'grass-1') -- For some reason that does not always overwrite water tiles? + local starting_ores = b.change_map_gen_collision_tile(start_ore_shape, 'water-tile', 'grass-1') starting_ores = b.apply_entity(starting_ores, b.segment_pattern(starting_ores_list)) return b.any {spawn_shape, starting_ores ,water_shape, ores} end -end \ No newline at end of file +end