From 574aff04800d9c5729f199be7ae38856612818ae Mon Sep 17 00:00:00 2001 From: Andrii Lavrenko Date: Sat, 21 Dec 2024 10:05:23 +0200 Subject: [PATCH] Update code.user.js Co-authored-by: Nuklon --- code.user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code.user.js b/code.user.js index 4b544ec..55af87a 100644 --- a/code.user.js +++ b/code.user.js @@ -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; @@ -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,