Fix client crash from misplaced achievements hunk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a05530b802
commit
67a1ab876a
2 changed files with 24 additions and 24 deletions
|
|
@ -2447,6 +2447,10 @@ document.addEventListener("click", (e) => {
|
|||
dollPick = dollPick === d.doll ? null : d.doll;
|
||||
return render();
|
||||
}
|
||||
if (d.ach) {
|
||||
achPick = achPick === d.ach ? null : d.ach;
|
||||
return render();
|
||||
}
|
||||
if ("select" in d) {
|
||||
selected = d.select || null;
|
||||
render();
|
||||
|
|
@ -2662,7 +2666,3 @@ document.addEventListener("visibilitychange", () => { if (!document.hidden) refr
|
|||
}, 500);
|
||||
requestAnimationFrame(loop);
|
||||
})();
|
||||
if (d.ach) {
|
||||
achPick = achPick === d.ach ? null : d.ach;
|
||||
return render();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue