mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction
This commit is contained in:
commit
e69bb21b5c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user