Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
SDoehren committed Jul 23, 2024
2 parents 5cdf43f + d7a2a3c commit f111d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tension-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ Hooks.on("ready", () => {
}


if (game.settings.get("tension-pool", "LatestVersion")!==game.modules.get("tension-pool").data.version && game.user.isGM){
if (game.settings.get("tension-pool", "LatestVersion")!==game.modules.get("tension-pool").version && game.user.isGM){
let message = "Hi,<br>Thanks for installing/updating Tension Pool" +
"<br>Scene controls are no longer supported by Tension Pool and have instead been replaced by macros performing the same behaviours.<br>" +
"<br>This message will not be shown again until the next update.<br><br>" +
"All the best,<br>SDoehren<br>Discord Server: https://discord.gg/QNQZwGGxuN"
ChatMessage.create({whisper:ChatMessage.getWhisperRecipients("GM"),content: message,speaker:ChatMessage.getSpeaker({alias: "Tension Pool"})}, {});
game.settings.set("tension-pool", "LatestVersion",game.modules.get("tension-pool").data.version)
game.settings.set("tension-pool", "LatestVersion",game.modules.get("tension-pool").version)
}

if (game.settings.get("tension-pool",'VisualDiceEffects')) {
Expand Down

0 comments on commit f111d6f

Please sign in to comment.