mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
clear currentScript to null not undefined
This commit is contained in:
parent
a20dd47ec6
commit
6251678532
@ -126,6 +126,7 @@ export function Root(props: IProps): React.ReactElement {
|
||||
})
|
||||
if (currentScript && (GetServer(currentScript.hostname) === null)) {
|
||||
currentScript = openScripts[0];
|
||||
if (currentScript === undefined) currentScript = null;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user