mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix for cheating puzzles by quickly switching belts (#1226)
* added the new splitter * Update base-en.yaml * adjusted how acceptor works to fix macro * fixed a minor bug * applied changes to the puzzle-editor-review script * minor cleanups
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user