Skip to content

Commit

Permalink
v1.0.3 Fix the crash from a summary not having a force
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed Dec 18, 2024
1 parent edcb271 commit e47f97d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2
1.0.3
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions resmon/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e47f97d

Please sign in to comment.