docs: sync gameplay/items/perks/weapons with 0.7.0 QoL batch; release: bump to 0.7.2

This commit is contained in:
Quintine committed 2026-08-11 19:31:28 +10:00
1 parent fde2747561
commit 50826d568d
9 files changed
+42 -34

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ const SfxBank = {
if (this.buffers.has(name) || this.pending.has(name) || this.failed.has(name)) return;
const file = this.FILES[name];
if (!file || !this.ctx || typeof fetch !== 'function') return;
const job = fetch('/assets/sfx/' + encodeURIComponent(file) + '?v=53')
const job = fetch('/assets/sfx/' + encodeURIComponent(file) + '?v=54')
.then(r => { if (!r.ok) throw new Error('HTTP ' + r.status); return r.arrayBuffer(); })
.then(bytes => this.ctx.decodeAudioData(bytes))
.then(buffer => this.buffers.set(name, this.trim(buffer)))
+1 -1
View File
@@ -86,7 +86,7 @@ const Sprites = {
const img = new Image();
img.onload = () => { this.imgs[name] = img; if (--pending === 0) G.imagesLoaded = true; };
img.onerror = () => { if (--pending === 0) G.imagesLoaded = true; };
img.src = 'assets/' + name + '.png?v=53';
img.src = 'assets/' + name + '.png?v=54';
}
},