mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 16:37:33 +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
|
||||
setOpenScripts([]);
|
||||
setCurrentScript(null);
|
||||
props.router.toTerminal();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user