wip
This commit is contained in:
@@ -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" &&
|
||||
|
||||
Reference in New Issue
Block a user