This commit is contained in:
math-pixel
2026-05-13 09:05:45 +02:00
parent f9d7c3f00e
commit 688302d985
+6
View File
@@ -169,6 +169,12 @@ function getNextPyloneStep(step: PyloneStep): PyloneStep {
}
function advancePyloneStep(state: GameState): GameStateUpdate {
if (state.pylone.currentStep === "locked") {
return {
pylone: { ...state.pylone, currentStep: "alert" },
};
}
const nextStep = getNextPyloneStep(state.pylone.currentStep);
if (
nextStep === "manipulation" &&