mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 04:23:48 +01:00
Merge pull request #2100 from mikomyazaki/empty-editor-to-terminal
Closing the final script in your editor will take you to the terminal
This commit is contained in:
commit
7260d5fe35
@ -668,6 +668,7 @@ export function Root(props: IProps): React.ReactElement {
|
|||||||
// No more scripts are open
|
// No more scripts are open
|
||||||
setOpenScripts([]);
|
setOpenScripts([]);
|
||||||
setCurrentScript(null);
|
setCurrentScript(null);
|
||||||
|
props.router.toTerminal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user