diff --git a/VERSION b/VERSION index 6d7de6e..21e8796 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.2 +1.0.3 diff --git a/changelog.txt b/changelog.txt index 83b30f2..c99c197 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,8 @@ --------------------------------------------------------------------------------------------------- +Version: 1.0.3 + Bugfixes: + - fix the aforementioned crash stemming from summary sites not having a force (they have one now) +--------------------------------------------------------------------------------------------------- Version: 1.0.2 Bugfixes: - maybe fix a crash where a site doesn't have a site.force (this should not have been possible) diff --git a/info.json b/info.json index c61ca19..81cf1ae 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "YARM", - "version": "1.0.2", + "version": "1.0.3", "factorio_version": "2.0", "title": "YARM - Resource Monitor", "author": "Mithaldu (current maintainer) and Narc", diff --git a/resmon/types.lua b/resmon/types.lua index bfbf735..3332e69 100644 --- a/resmon/types.lua +++ b/resmon/types.lua @@ -110,6 +110,7 @@ function types_module.new_summary_site_from(site, summary_id) ---@class summary_site: yarm_site local summary = { name = "Total " .. summary_id, + force = site.force, ore_type = site.ore_type, ore_name = site.ore_name, initial_amount = 0,