fix shoot

This commit is contained in:
Felix Roos 2022-05-01 22:47:58 +02:00
parent 5f26773c61
commit c939a8a0c1
3 changed files with 4 additions and 4 deletions

View file

@ -136,7 +136,7 @@ extend(
},
);
export const queryCode = async (code, cycles) => {
export const queryCode = async (code, cycles = 1) => {
const { pattern } = await evaluate(code);
const haps = pattern.queryArc(0, cycles);
return haps.map((h) => h.showWhole());