diff --git a/ads.js b/ads.js index b5b110f..679c5bc 100644 Binary files a/ads.js and b/ads.js differ diff --git a/public/assets/my.js b/public/assets/my.js index 3d4d32c..fa05be0 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -110,7 +110,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str if (d.milestonesGranted && d.milestonesGranted.length) { const total = d.milestonesGranted.reduce((s, g) => s + g.credited, 0); const names = d.milestonesGranted.map(g => (BADGES.find(b => b.key === g.key) || {}).label).filter(Boolean).join(', '); - IAP.status('🏆 Achievement unlocked: ' + names + ' — +' + total + ' bonus credits!', 'ok'); + IAP.status('🏆 Achievement unlocked: ' + names + (total > 0 ? ': +' + total + ' bonus credits!' : '! See it in your badges.'), 'ok'); d.milestonesGranted.forEach((g, i) => setTimeout(() => postBadge(g.key, d, strip.querySelector('[data-badgepost="' + g.key + '"]')), 800 + i * 1500)); } } @@ -1824,6 +1824,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str if (r.needPay) { IAP.status(r.message || 'Buy a $5 package and the pass starts when it settles.', 'bad'); await loadGamePassCard(true); return; } IAP.status('Game Pass active until ' + gpDate(r.until) + '. Have fun out there.', 'ok'); await loadGamePassCard(true); + try { await loadDashboard(); } catch (e) {} // unlocks the Game Pass badge at once (toast + team post) } catch (e) { IAP.status(e.message, 'bad'); b.disabled = false; } }); const g = $('gpGoBuy'); if (g) g.addEventListener('click', () => setPane('buy')); diff --git a/public/my.html b/public/my.html index 358b341..a39395c 100644 --- a/public/my.html +++ b/public/my.html @@ -787,7 +787,7 @@ Open
- + @@ -1188,7 +1188,7 @@ - +