mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
clear currentScript to null not undefined
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user