diff --git a/src/client/scripts/aoiscript/evaluator.ts b/src/client/scripts/aoiscript/evaluator.ts index d34ab3dc26..b7b141e675 100644 --- a/src/client/scripts/aoiscript/evaluator.ts +++ b/src/client/scripts/aoiscript/evaluator.ts @@ -126,14 +126,16 @@ export class ASEvaluator { ...(opts.value.get('type').value === 'radar' ? { scale: { ticks: { - beginAtZero: opts.value.has('begin_at_zero') ? opts.value.get('begin_at_zero') : false + min: opts.value.has('min') ? opts.value.get('min').value : undefined, + max: opts.value.has('max') ? opts.value.get('max').value : undefined, } } } : { scales: { yAxes: [{ ticks: { - beginAtZero: opts.value.has('begin_at_zero') ? opts.value.get('begin_at_zero') : false + min: opts.value.has('min') ? opts.value.get('min').value : undefined, + max: opts.value.has('max') ? opts.value.get('max').value : undefined, } }] }