Skip to content

Commit

Permalink
Fixed a critical and silly bug that got introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
WBHarry committed Aug 13, 2024
1 parent b1fcc60 commit 976c9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "pf2e-bestiary-tracking",
"title": "PF2E Bestiary Tracking",
"description": "A module to track known information about enemies for players in a bestiary.",
"version": "0.8.2",
"version": "0.8.3",
"authors": [
{
"name": "HarryBoy"
Expand Down
2 changes: 1 addition & 1 deletion module/bestiary.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default class PF2EBestiary extends HandlebarsApplicationMixin(Application
if(!game.user.isGM) return;

for(var type of this.selected.monster.inTypes){
foundry.utils.setProperty(this.bestiary.monster[type][this.selected.monster.slug], `${button.dataset.path}.revealed`, !foundry.utils.getProperty(this.bestiary.monster[type][this.selected.monster.slug]));
foundry.utils.setProperty(this.bestiary.monster[type][this.selected.monster.slug], `${button.dataset.path}.revealed`, !foundry.utils.getProperty(this.bestiary.monster[type][this.selected.monster.slug], `${button.dataset.path}.revealed`));
}

if(button.dataset.parent){
Expand Down

0 comments on commit 976c9d4

Please sign in to comment.