fix fetch color swap, missing a return

This commit is contained in:
Greenlamp 2024-05-21 01:58:28 +02:00
parent 0b10b09f98
commit 19c3147b9e

View File

@ -336,7 +336,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
console.error(`Could not load ${res.url}!`);
return;
}
res.json()
return res.json()
}).then(c => {
variantColorCache[key] = c;
resolve();