Enhance player start navigation mode type checking

This commit is contained in:
2026-04-11 11:18:37 +02:00
parent 7470b4472a
commit bafee9809d

View File

@@ -904,7 +904,8 @@ function readPlayerStartNavigationMode(value: unknown, label: string) {
value, value,
label, label,
"firstPerson", "firstPerson",
isPlayerStartNavigationMode (candidate): candidate is "firstPerson" | "thirdPerson" =>
typeof candidate === "string" && isPlayerStartNavigationMode(candidate)
); );
} }