From ac6fe1a74b080358d6589a63a57532ff2b182a2c Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Wed, 23 Jun 2021 21:43:14 +0100 Subject: [PATCH] applied changes to the puzzle-editor-review script --- src/js/game/hud/parts/puzzle_editor_review.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/game/hud/parts/puzzle_editor_review.js b/src/js/game/hud/parts/puzzle_editor_review.js index 68f5360c..727006d6 100644 --- a/src/js/game/hud/parts/puzzle_editor_review.js +++ b/src/js/game/hud/parts/puzzle_editor_review.js @@ -216,8 +216,8 @@ export class HUDPuzzleEditorReview extends BaseHUDPart { if (!goalComp.item) { return T.puzzleMenu.validation.goalAcceptorNoItem; } - const required = goalComp.getRequiredDeliveryHistorySize(); - if (goalComp.deliveryHistory.length < required) { + const required = globalConfig.goalAcceptorItemsRequired; + if (goalComp.currentDeliveredItems < required) { return T.puzzleMenu.validation.goalAcceptorRateNotMet; } }