Skip to content

Commit

Permalink
fix: prevent party sheet closing when opening character sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieDover committed Oct 17, 2023
1 parent 8e3a9c7 commit 1f0df29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module/app/party-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export class PartySheetForm extends FormApplication {
}

openActorSheet(event) {
event.preventDefault();
const actorId = event.currentTarget.dataset.actorid;
const actor = game.actors.get(actorId.replace("Actor.", ""));
actor.sheet.render(true);
Expand Down

0 comments on commit 1f0df29

Please sign in to comment.