Skip to content

Commit

Permalink
v2.0.14 commit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ILLISIS committed Nov 27, 2024
1 parent 0ea9ea3 commit 5ea85c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.0.14
Date: ????
Bugfixes:
- Fixed another crash during cargo job prospecting.
---------------------------------------------------------------------------------------------------
Version: 2.0.13
Date: 2024-11-22
Bugfixes:
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": "Constructron-Continued",
"version": "2.0.13",
"version": "2.0.14",
"title": "Constructron-Continued",
"author": "ILLISIS",
"homepage": "https://github.com/ILLISIS/Constructron-continued/",
Expand Down
3 changes: 2 additions & 1 deletion script/job/cargo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function cargo_job.prospect_cargo_jobs()
if ((current_count + request.in_transit_count) < request.max) then
if not (items_to_fullfill[request.name] and items_to_fullfill[request.name][request.quality]) then -- ignore if already in the list
local total = request.max - current_count - request.in_transit_count
items_to_fullfill[request.name] = total
items_to_fullfill[request.name] = items_to_fullfill[request.name] or {}
items_to_fullfill[request.name][request.quality] = total
storage.station_requests[station.unit_number][id].in_transit_count = total
end
end
Expand Down

0 comments on commit 5ea85c3

Please sign in to comment.