UberV / scaleGrid

Module for FoundryVTT that scales the grid.
19 stars 22 forks source link

Buttons visible to players #12

Open yjeroen opened 4 years ago

yjeroen commented 4 years ago

The buttons on the left menu are visible not only to the GM, but also the players.

They can't use it at least. :) They get a permission error.

mech-tools commented 4 years ago

@yjeroen Hotfix for this: replace line 1053 of file gridScale.js with:

if (game.user.isGM) {
    controls.push(sgLayer.newButtons);
}