Skip to content

Commit

Permalink
fixed carrying item bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonepatr committed Jan 21, 2022
1 parent b7d7125 commit 6892f37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/module/sheets/TwodsixActorSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export class TwodsixActorSheet extends AbstractTwodsixActorSheet {
if (event.currentTarget) {
const li = $(event.currentTarget).parents(".item");
const itemSelected = <TwodsixItem>this.actor.items.get(li.data("itemId"));
(<Gear>itemSelected.data.data).equipped = "yay";

let disableEffect: boolean;
switch ((<Gear>itemSelected.data.data).equipped) {
Expand Down

0 comments on commit 6892f37

Please sign in to comment.