mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
applied changes to the puzzle-editor-review script
This commit is contained in:
parent
f514e2735b
commit
ac6fe1a74b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user