Skip to content

Commit

Permalink
Update code.user.js
Browse files Browse the repository at this point in the history
Co-authored-by: Nuklon <[email protected]>
  • Loading branch information
SeRi0uS007 and Nuklon authored Dec 21, 2024
1 parent d9c49b9 commit 574aff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,7 @@
const sellQueue = async.queue(
(task, next) => {
totalNumberOfProcessedQueueItems++;

const digits = getNumberOfDigits(totalNumberOfQueuedItems);
const itemId = task.item.assetid || task.item.id;
const itemName = task.item.name || task.item.description.name;
Expand All @@ -1308,9 +1309,9 @@
logDOM(`${padLeft} - ${itemName} is not listed due to ignoring price settings.`);
$(`#${task.item.appid}_${task.item.contextid}_${itemId}`).css('background', COLOR_PRICE_NOT_CHECKED);
next();

return;
}

market.sellItem(
task.item,
task.sellPrice,
Expand Down

0 comments on commit 574aff0

Please sign in to comment.