mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 10:12:53 +02:00
0.54 again
This commit is contained in:
@@ -85,7 +85,8 @@ export function Root(props: IProps): React.ReactElement {
|
||||
|
||||
// store the last known state in case we need to restart without nano.
|
||||
useEffect(() => {
|
||||
if (props.filename === "") return;
|
||||
if (props.filename === undefined) return;
|
||||
console.log("setting to " + props.filename);
|
||||
lastFilename = props.filename;
|
||||
lastCode = props.code;
|
||||
lastPosition = null;
|
||||
|
||||
Reference in New Issue
Block a user