Make it so that the setting change doesn't error when no combat is started
This commit is contained in:
parent
5d8a4495a1
commit
eccfd96e67
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export function registerMetaSettings() {
|
|||
requiresReload: false,
|
||||
default: `friendly`,
|
||||
onChange: async () => {
|
||||
await game.combat.setupTurns();
|
||||
await game.combat?.setupTurns();
|
||||
await ui.combat.render({ parts: [ `tracker` ] });
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue