From 79e8c0fc679f8e4996f3cd76ac29d00706d78de7 Mon Sep 17 00:00:00 2001 From: lovely_santa Date: Tue, 27 Feb 2024 18:17:47 +0100 Subject: [PATCH] Fixed when placing an electric offshore waterpump over its ghost, the module request would be forgotten (973) --- angelsrefining/changelog.txt | 5 +++++ angelsrefining/control.lua | 2 +- angelsrefining/info.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/angelsrefining/changelog.txt b/angelsrefining/changelog.txt index 19aeaea74..f50fef5c3 100644 --- a/angelsrefining/changelog.txt +++ b/angelsrefining/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.12.8 +Date: ??? + Bugfixes: + - Fixed when placing an electric offshore waterpump over its ghost, the module request would be forgotten (973) +--------------------------------------------------------------------------------------------------- Version: 0.12.7 Date: 21.02.2024 Changes: diff --git a/angelsrefining/control.lua b/angelsrefining/control.lua index 4f47d3f11..2b6457ec5 100644 --- a/angelsrefining/control.lua +++ b/angelsrefining/control.lua @@ -17,7 +17,7 @@ end) -- built events script.on_event(defines.events.on_built_entity, function(event) - sea_pump:on_build_entity(event.created_entity, {}) + sea_pump:on_build_entity(event.created_entity, event.tags or {}) end) script.on_event(defines.events.on_robot_built_entity, function(event) sea_pump:on_build_entity(event.created_entity, event.tags or {}) diff --git a/angelsrefining/info.json b/angelsrefining/info.json index ca2e652e1..7a09ce70c 100644 --- a/angelsrefining/info.json +++ b/angelsrefining/info.json @@ -1,6 +1,6 @@ { "name": "angelsrefining", - "version": "0.12.7", + "version": "0.12.8", "factorio_version": "1.1", "title": "Angel's Refining", "author": "Arch666Angel",