mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
validation only checks every 100 ticks to improve performance
This commit is contained in:
parent
dcd5cf67f1
commit
483866ad0b
@ -91,7 +91,7 @@ export class HUDPuzzleEditorReview extends BaseHUDPart {
|
||||
|
||||
//if we reached maximum ticks and the puzzle still isn't completed
|
||||
const validationError = this.validatePuzzle();
|
||||
if (validationError) {
|
||||
if (simulatedTicks == maxTicks && validationError) {
|
||||
this.root.hud.parts.dialogs.showWarning(T.puzzleMenu.validation.title, validationError);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user