Skip to content

Commit

Permalink
Fix wrong assertion argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler committed Jan 18, 2024
1 parent adc67ff commit 4431436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local function handle(name)
end

if port.logistics_radius then
assert(port.logistics_radius >= pole.supply_area_distance) -- hardcoded assumption that the logistic area is smaller than the power coverage
assert(pole.supply_area_distance >= port.logistics_radius) -- hardcoded assumption that the logistic area is smaller than the power coverage
table.insert(layers, {
filename = "__core__/graphics/visualization-logistic-radius.png",
height = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "se-construction-pylon-show-orange-n-green-in-hand",
"title": "Space Exploration - construction pylon show orange and green in hand",
"description": "By default it only shows the power coverage, which is not ideal when trying to space them. (pun intended)",
"version": "1.0.0",
"version": "1.0.1",
"author": "Quezler",
"factorio_version": "1.1",
"dependencies": [
Expand Down

0 comments on commit 4431436

Please sign in to comment.