Skip to content

Commit

Permalink
made the ledger visible to non-gms
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdrosas87 committed May 3, 2022
1 parent 3dbb0c3 commit 4b4bdd6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions scripts/ledger.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
console.log('Ledger ! Im running!');
alert("rosas!");

//Main class
class Ledger
{
Expand Down Expand Up @@ -301,10 +298,10 @@ function getGMLedger_Ext()

function GMLedgerButton(sheet)
{
if(!game.user.isGM)
{
return;
}
// if(!game.user.isGM)
// {
// return;
// }

const openLedgerTooltip = 'Opens the combined player ledgers';
const ledgerButtonContents = 'Open Ledgers...';
Expand Down

0 comments on commit 4b4bdd6

Please sign in to comment.