Remove unused function handleSelectOrPlacePlayerStart in App.tsx
This commit is contained in:
@@ -840,21 +840,6 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSelectOrPlacePlayerStart = () => {
|
|
||||||
if (primaryPlayerStart === null) {
|
|
||||||
applyPlayerStartChange();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
applySelection(
|
|
||||||
{
|
|
||||||
kind: "entities",
|
|
||||||
ids: [primaryPlayerStart.id]
|
|
||||||
},
|
|
||||||
"runner"
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleEnterPlayMode = () => {
|
const handleEnterPlayMode = () => {
|
||||||
if (blockingDiagnostics.length > 0) {
|
if (blockingDiagnostics.length > 0) {
|
||||||
setStatusMessage(`Run mode blocked: ${formatSceneDiagnosticSummary(blockingDiagnostics)}`);
|
setStatusMessage(`Run mode blocked: ${formatSceneDiagnosticSummary(blockingDiagnostics)}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user