Feature: Add support for inverted mouse camera horizontal setting to player start

This commit is contained in:
2026-04-27 17:17:05 +02:00
parent 82f2c75076
commit eed6afb58f
4 changed files with 24 additions and 1 deletions

View File

@@ -2699,6 +2699,17 @@ function validatePlayerStartEntity(
);
}
if (typeof entity.invertMouseCameraHorizontal !== "boolean") {
diagnostics.push(
createDiagnostic(
"error",
"invalid-player-start-invert-mouse-camera-horizontal",
"Player Start invertMouseCameraHorizontal must remain a boolean.",
`${path}.invertMouseCameraHorizontal`
)
);
}
if (!isPlayerStartMovementTemplateKind(entity.movementTemplate?.kind)) {
diagnostics.push(
createDiagnostic(