Skip to content

Commit

Permalink
Merge pull request #6747 from urbaj-dr/patch-12
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR authored Dec 25, 2023
2 parents 2e68124 + e6b6cc9 commit df04a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trade.lic
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ class Trade
outfitting_type = should_knit? ? 'knitting' : 'sewing'
outfitting_mat = should_knit? ? 'wool' : 'burlap'
@current_materials[@outfitting_material_type] -= recipe['volume']
start_script('sew', ['stow', outfitting_type, recipe['chapter'], recipe['name'], outfitting_mat].map { |arg| arg =~ /\s/ ? "\"#{arg}\"" : arg }, recipe['noun'])
start_script('sew', ['stow', outfitting_type, recipe['chapter'].to_s, recipe['name'], outfitting_mat].map { |arg| arg =~ /\s/ ? "\"#{arg}\"" : arg }, recipe['noun'])
end
end

Expand Down Expand Up @@ -1974,7 +1974,7 @@ class Trade
magic_cleanup
@current_materials['balsa lumber'] -= recipe['volume']
echo "recipe is #{recipe}" if debugging?
start_script('shape', ['stow', recipe['chapter'], recipe['name'], 'balsa', recipe['noun']].map { |arg| arg =~ /\s/ ? "\"#{arg}\"" : arg })
start_script('shape', ['stow', recipe['chapter'].to_s, recipe['name'], 'balsa', recipe['noun']].map { |arg| arg =~ /\s/ ? "\"#{arg}\"" : arg })
end
end

Expand Down

0 comments on commit df04a3d

Please sign in to comment.