mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
fix fetch color swap, missing a return
This commit is contained in:
parent
0b10b09f98
commit
19c3147b9e
@ -336,7 +336,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
console.error(`Could not load ${res.url}!`);
|
console.error(`Could not load ${res.url}!`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
res.json()
|
return res.json()
|
||||||
}).then(c => {
|
}).then(c => {
|
||||||
variantColorCache[key] = c;
|
variantColorCache[key] = c;
|
||||||
resolve();
|
resolve();
|
||||||
|
Loading…
Reference in New Issue
Block a user