mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-26 11:38:54 +00:00
Fix issue with some modifiers not loading after loading session
This commit is contained in:
parent
bbf42f28fb
commit
6941e6bdce
@ -22,7 +22,7 @@ export default class ModifierData {
|
||||
this.typePregenArgs = (source.type as GeneratedPersistentModifierType).getPregenArgs();
|
||||
} else if (source.typePregenArgs)
|
||||
this.typePregenArgs = source.typePregenArgs;
|
||||
this.args = sourceModifier ? sourceModifier.getArgs() : source.args;
|
||||
this.args = sourceModifier ? sourceModifier.getArgs() : source.args || [];
|
||||
this.stackCount = source.stackCount;
|
||||
this.className = sourceModifier ? sourceModifier.constructor.name : source.className;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user