Skip to content

Commit 5fc8cdd

Browse files
committed
Fix resetting a save applying to the wrong branch
1 parent daf23be commit 5fc8cdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ts/saving.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ export class Savinator {
153153
}
154154

155155
reset() {
156-
localStorage.removeItem(this.saveName);
157-
localStorage.removeItem(this.developSaveName);
156+
localStorage.removeItem(this.currentSaveName);
158157
location.reload();
159158
}
160159
}

0 commit comments

Comments
 (0)