Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction

This commit is contained in:
phyzical 2022-03-25 19:56:15 +08:00
commit e69bb21b5c
2 changed files with 4 additions and 4 deletions

@ -127,9 +127,9 @@ export function Factions(props: IProps): React.ReactElement {
</>
}
>
{Object.values(FactionNames).map((faction) => (
<MenuItem key={faction} value={faction}>
{faction}
{Object.values(AllFaction).map((faction) => (
<MenuItem key={faction.name} value={faction.name}>
{faction.name}
</MenuItem>
))}
</Select>

@ -60,7 +60,7 @@ export function WireCuttingGame(props: IMinigameProps): React.ReactElement {
rules: 0,
};
interpolate(difficulties, props.difficulty, difficulty);
const timer = 99999;
const timer = difficulty.timer;
const [wires] = useState(generateWires(difficulty));
const [cutWires, setCutWires] = useState(new Array(wires.length).fill(false));
const [questions] = useState(generateQuestion(wires, difficulty));