From 49fdf7d1a6706cf52435246d27aa71d7ed7cec87 Mon Sep 17 00:00:00 2001 From: RedRafe Date: Sat, 9 Nov 2024 19:25:45 +0100 Subject: [PATCH] Fix pole --- map_gen/maps/crash_site/events.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map_gen/maps/crash_site/events.lua b/map_gen/maps/crash_site/events.lua index 8b34072c..086259c9 100644 --- a/map_gen/maps/crash_site/events.lua +++ b/map_gen/maps/crash_site/events.lua @@ -245,7 +245,7 @@ local function do_pole(entity) return end - local supply_area_distance = entity.get_supply_area_distance(entity.quality) + local supply_area_distance = entity.prototype.get_supply_area_distance(entity.quality) if not supply_area_distance then return end