This commit is contained in:
2026-04-02 20:17:51 +02:00
parent a0d88fa32a
commit 635529a416
5 changed files with 7 additions and 14 deletions

View File

@@ -167,12 +167,3 @@ Hooks.on("renderChatMessageHTML", (message, html) => {
// Inject Free Roll bar into the chat sidebar
Hooks.on("renderChatLog", (_chatLog, html) => injectFreeRollBar(_chatLog, html))
// Replace the Foundry pause image with the system logo
function _applyPauseLogo() {
const img = document.querySelector("#pause img")
if (!img) return
img.src = "systems/fvtt-oath-hammer/assets/logos/oath_hammer_pause_logo.webp"
img.classList.remove("fa-spin")
}
Hooks.on("pauseGame", (paused) => { if (paused) setTimeout(_applyPauseLogo, 50) })
Hooks.on("ready", () => { if (game.paused) _applyPauseLogo() })