Damaged saves are retried by the next version and have a Try again button; imports up to 64 MB

This commit is contained in:
Frederic Jung 2026-11-01 12:40:48 +01:00
parent 597cc40aef
commit 19b546f5ab
No known key found for this signature in database
12 changed files with 56 additions and 13 deletions

View file

@ -6,6 +6,8 @@ Object.assign(ACT,{
// Back to the title with this network kept and saved.
toTitle:()=>{if(pzOn()){pzLeave();}slotLeave();gameClear();showTitle();},
slotBack:()=>{if(S&&UI.started)closeModal();else showTitle();},
// A damaged save, opened once more: if it loads, it is no longer damaged; if not, it is marked again.
slotRetry:({id})=>{const l=slotIdx(),e=l.find(x=>x.id===id);if(!e)return;e.broken=false;slotIdxPut(l);closeModal();ACT.cont({id});},
slotMenu:({id})=>{const h=slotMenuHtml(id);if(h)openModal(h);},
slotExport:({id})=>exportSlot(id),
slotDel:({id,back})=>{const e=slotIdx().find(x=>x.id===id);if(!e)return;