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