mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Don't recalculate stats that already exist
This commit is contained in:
parent
d0ed24c216
commit
9cca4131c2
@ -242,7 +242,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
this.shiny = false;
|
||||
}
|
||||
|
||||
this.calculateStats();
|
||||
if (!dataSource) {
|
||||
this.calculateStats();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user