Skip to content

Commit

Permalink
fix sigil not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Feb 7, 2024
1 parent e517202 commit d7e3e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/core/components/inputs/consumables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function makeConsumeInputFactory<T extends number>(args: ConsumeInputFactoryArgs
})),
equals: (a: T, b: T) => a == b,
zeroValue: 0 as T,
changedEvent: (player: Player<any>) => TypedEvent.onAny([player.consumesChangeEmitter, player.levelChangeEmitter, player.gearChangeEmitter]),
changedEvent: (player: Player<any>) => TypedEvent.onAny([player.consumesChangeEmitter, player.levelChangeEmitter, player.gearChangeEmitter, player.professionChangeEmitter]),
showWhen: (player: Player<any>) => !args.showWhen || args.showWhen(player),
getValue: (player: Player<any>) => player.getConsumes()[args.consumesFieldName] as T,
setValue: (eventID: EventID, player: Player<any>, newValue: number) => {
Expand Down Expand Up @@ -119,7 +119,7 @@ export const EnchantedSigilInnovation: ConsumableInputConfig<EnchantedSigil> = {
};

export const ENCHANTEDSIGILCONFIG: ConsumableStatOption<EnchantedSigil>[] = [
{ config: EnchantedSigilInnovation, stats: [] },
{ config: EnchantedSigilInnovation, stats: [] },
];

export const makeEncanthedSigilInput = makeConsumeInputFactory({
Expand Down

0 comments on commit d7e3e7e

Please sign in to comment.