mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-09-20 11:01:45 +00:00
revert GameMechanicState change
This commit is contained in:
parent
109c823e32
commit
83be26ea2c
|
@ -20,9 +20,9 @@ export class GameMechanicState extends Effect {
|
|||
} else {
|
||||
effect = new Effect(nested.effect, nested.cap, nested.effectCondition);
|
||||
}
|
||||
Object.defineProperty(effect, "canBeApplied", {
|
||||
Object.defineProperty(effect, "isEffectActive", {
|
||||
configurable: false,
|
||||
get: () => this.canBeApplied
|
||||
get: () => this.isEffectActive
|
||||
});
|
||||
this.effects[key] = effect;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user