mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-17 10:57:32 +01:00
Update root
This commit is contained in:
parent
16d47543c4
commit
fe330f9f9f
@ -22,24 +22,24 @@ export function InfiltrationRoot(props: IProps): React.ReactElement {
|
|||||||
router.toCity();
|
router.toCity();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!start) {
|
|
||||||
return (
|
|
||||||
<Intro
|
|
||||||
Location={props.location}
|
|
||||||
Difficulty={difficulty}
|
|
||||||
MaxLevel={props.location.infiltrationData.maxClearanceLevel}
|
|
||||||
start={() => setStart(true)}
|
|
||||||
cancel={cancel}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Game
|
<div style={{ display: "flex", alignItems: "center", height: "75vh" }}>
|
||||||
StartingDifficulty={startingSecurityLevel}
|
{start ? (
|
||||||
Difficulty={difficulty}
|
<Game
|
||||||
Reward={reward}
|
StartingDifficulty={startingSecurityLevel}
|
||||||
MaxLevel={props.location.infiltrationData.maxClearanceLevel}
|
Difficulty={difficulty}
|
||||||
/>
|
Reward={reward}
|
||||||
|
MaxLevel={props.location.infiltrationData.maxClearanceLevel}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<Intro
|
||||||
|
Location={props.location}
|
||||||
|
Difficulty={difficulty}
|
||||||
|
MaxLevel={props.location.infiltrationData.maxClearanceLevel}
|
||||||
|
start={() => setStart(true)}
|
||||||
|
cancel={cancel}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user