fix possibly null prop

This commit is contained in:
2023-03-25 00:50:23 +01:00
parent 11d2e831df
commit abca7e3cd1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ export default defineComponent({
this.missives = missives;
this.lastRecruitHandled = saveData.lastRecruitAction;
this.lastRecruitHandled = saveData.lastRecruitAction ?? 0;
},
resetSave() {
if (!confirm("You are about to wipe your save file. Are you sure?")) return;