Skip to content

Commit

Permalink
check if weather-control ouput to chat is checked, and thow an error …
Browse files Browse the repository at this point in the history
…to the user, added missing image
  • Loading branch information
paulo-roger committed Sep 21, 2022
1 parent b06b07e commit 8ba494a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/weatherfx.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ Hooks.on('canvasReady', async function () {
if (enableSound)
if (canvas.scene.getFlag("weatherfx", "audio") != "")
AudioHelper.play({ src: canvas.scene.getFlag("weatherfx", "audio"), volume: 0.8, loop: true }, true);
if (!canvas.scene.getFlag("weatherfx", "active"))
clearEffects();
})

Hooks.once('renderWeatherApplication', async function (app, html, data) {
Expand Down

0 comments on commit 8ba494a

Please sign in to comment.