Fix Dice Roll icon in toolbar in V9
This commit is contained in:
parent
007ec729cf
commit
241345bf0a
|
@ -296,5 +296,9 @@ Hooks.on("renderSceneControls", async (app, html) => {
|
|||
dice_roller.click( async function() {
|
||||
await simpleRollPopup();
|
||||
});
|
||||
if ( !foundry.utils.isNewerVersion("9", game.version ?? game.data.version) ) {
|
||||
html.children().first().append( dice_roller );
|
||||
} else {
|
||||
html.append( dice_roller );
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue