diff --git a/patcher/web.js b/patcher/web.js index 7601069..38ad9db 100644 --- a/patcher/web.js +++ b/patcher/web.js @@ -7,7 +7,7 @@ function savePatch(ev) { function restorePatch() { let text = document.getElementById("patch") - text.value = localStorage["UF2_PATCH"] + text.value = localStorage["UF2_PATCH"] || "" document.getElementById("apply").onclick = applyPatch }