cleanup
This commit is contained in:
parent
26233d61ea
commit
05933af152
10 changed files with 22 additions and 15 deletions
|
@ -20,7 +20,7 @@ export async function createRollCheckMacro(check: Check, slot: string): Promise<
|
|||
}
|
||||
|
||||
async function getOrCreateRollCheckMacro(check: Check): Promise<Macro | undefined> {
|
||||
const command = `getGame().ds4.macros.rollCheck("${check}");`;
|
||||
const command = `game.ds4.macros.rollCheck("${check}");`;
|
||||
|
||||
const existingMacro = getGame().macros?.find(
|
||||
(m) => m.name === DS4.i18n.checks[check] && m.data.command === command,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue