Don't recalculate stats that already exist

This commit is contained in:
NightKev 2024-08-15 23:05:03 -07:00
parent d0ed24c216
commit 9cca4131c2

View File

@ -242,7 +242,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
this.shiny = false; this.shiny = false;
} }
this.calculateStats(); if (!dataSource) {
this.calculateStats();
}
} }