mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 00:17:32 +01:00
Shortcuts now check to see if feature is unlocked
The sidebar now checks if the Player has unlocked the features before using the router to head to the new page. - Check added for Bladeburner - Check added for Gangs
This commit is contained in:
parent
8b69fd7faa
commit
a03e47593f
@ -319,10 +319,10 @@ export function SidebarRoot(props: IProps): React.ReactElement {
|
||||
} else if (event.keyCode === KEY.U && event.altKey) {
|
||||
event.preventDefault();
|
||||
clickTutorial();
|
||||
} else if (event.keyCode === KEY.B && event.altKey) {
|
||||
} else if (event.keyCode === KEY.B && event.altKey && props.player.bladeburner) {
|
||||
event.preventDefault();
|
||||
clickBladeburner();
|
||||
} else if (event.keyCode === KEY.G && event.altKey) {
|
||||
} else if (event.keyCode === KEY.G && event.altKey && props.player.gang) {
|
||||
event.preventDefault();
|
||||
clickGang();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user