Remove more latent console logs

This commit is contained in:
Sirz Benjie 2025-04-17 10:17:34 -05:00
parent 576c485677
commit e65853084e
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -844,12 +844,11 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
// we reach the line of code that adds the listener, causing a deadlock.
const waitOnLoadPromise = new Promise<void>(resolve => globalScene.load.once(Phaser.Loader.Events.COMPLETE, resolve));
// Wait for the assets we queued to load to finish loading, then...
if (!globalScene.load.isLoading()) {
// push an event that will resolve when the load is complete
globalScene.load.start();
}
// Wait for the assets we queued to load to finish loading, then...
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#creating_a_promise_around_an_old_callback_api
await waitOnLoadPromise;
@ -880,7 +879,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
if (this.summonData?.speciesForm) {
this.updateFusionPalette(true);
}
console.log("Line 881");
}
/**