Merge pull request #3549 from nickofolas/fix/infiltration-games

INFILTRATION: Fix minigame cycle
This commit is contained in:
hydroflame 2022-04-24 02:40:30 -04:00 committed by GitHub
commit ab034f6f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,16 +113,7 @@ export function Game(props: IProps): React.ReactElement {
stageComponent = <Countdown onFinish={() => setStage(Stage.Minigame)} />;
break;
case Stage.Minigame: {
/**
*
BackwardGame,
BribeGame,
CheatCodeGame,
Cyberpunk2077Game,
MinesweeperGame,
WireCuttingGame,
*/
const MiniGame = WireCuttingGame; // minigames[gameIds.id];
const MiniGame = minigames[gameIds.id];
stageComponent = <MiniGame onSuccess={success} onFailure={failure} difficulty={props.Difficulty + level / 50} />;
break;
}