Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Jul 15, 2024
1 parent 17b33af commit c8a1c6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export function registerWrappers() {
"TokenLayer.prototype._getOccludableTokens",
function (wrapped, ...args) {
if (game.user.isGM) return wrapped(...args);
debugger
const isLevels = canvas.scene?.flags?.levels?.sceneLevels?.length > 0;
if (!isLevels) return wrapped(...args);
return CONFIG.Levels.currentToken ? [CONFIG.Levels.currentToken] : [];
Expand Down

0 comments on commit c8a1c6e

Please sign in to comment.