fix smite-warpgate power macro
This commit is contained in:
parent
1bfbbb2ae5
commit
666bcaa93a
@ -42,7 +42,7 @@ async function main(tokens) {
|
||||
menuData.inputs.push({type: 'select', label: token.name, options: weapons});
|
||||
}
|
||||
let {buttons, inputs} = await warpgate.menu(menuData, menuOptions);
|
||||
for (tokenid in tokenWeapons) {
|
||||
for (let tokenid in tokenWeapons) {
|
||||
tokenWeapons[tokenid] = inputs[tokenWeapons[tokenid]];
|
||||
}
|
||||
if (buttons != "cancel") {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user