pass correct job_item index for item selection

develop
Myk Taylor 2023-02-18 01:25:07 -08:00
parent ee827f5ca1
commit 2477a23972
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -712,7 +712,7 @@ function PlannerOverlay:onInput(keys)
chosen_items[idx] = {}
if (self.subviews['item'..idx].available or 0) > 0 then
ItemSelectionScreen{
index=self.selected,
index=idx,
on_submit=function(items)
chosen_items[idx] = items
pending = pending - 1