From d409147c8bc47285335e24a678c8d38eee8f3d36 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 1 May 2026 16:22:11 +0200 Subject: [PATCH] auto-git: [change] src/document/scene-document-validation.ts --- src/document/scene-document-validation.ts | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/document/scene-document-validation.ts b/src/document/scene-document-validation.ts index 359dcf26..d86a683f 100644 --- a/src/document/scene-document-validation.ts +++ b/src/document/scene-document-validation.ts @@ -3203,6 +3203,32 @@ function validatePlayerStartEntity( ); } + if (!isBoolean(entity.movementTemplate?.edgeAssist?.enabled)) { + diagnostics.push( + createDiagnostic( + "error", + "invalid-player-start-edge-assist-enabled", + "Player Start edge assist enabled setting must be a boolean.", + `${path}.movementTemplate.edgeAssist.enabled` + ) + ); + } + + if ( + !isNonNegativeFiniteNumber( + entity.movementTemplate?.edgeAssist?.pushToTopHeight + ) + ) { + diagnostics.push( + createDiagnostic( + "error", + "invalid-player-start-push-to-top-height", + "Player Start push-to-top height must remain a finite number zero or greater.", + `${path}.movementTemplate.edgeAssist.pushToTopHeight` + ) + ); + } + if ( !isPlayerStartKeyboardBindingCode( entity.inputBindings?.keyboard.moveForward