mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
BUGFIX: Allow (attempting) importing the same save filename twice in a row (#424)
This commit is contained in:
parent
028d9f9462
commit
b92e0f1468
@ -73,6 +73,9 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
|
|||||||
} catch (e: unknown) {
|
} catch (e: unknown) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
SnackbarEvents.emit(String(e), ToastVariant.ERROR, 5000);
|
SnackbarEvents.emit(String(e), ToastVariant.ERROR, 5000);
|
||||||
|
} finally {
|
||||||
|
// Re-trigger if we import the same save
|
||||||
|
event.target.value = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user