diff --git a/src/client/debug/ai/AI.svelte b/src/client/debug/ai/AI.svelte index 3009570b3..3e00bfb27 100644 --- a/src/client/debug/ai/AI.svelte +++ b/src/client/debug/ai/AI.svelte @@ -174,8 +174,8 @@ {#if Object.keys(bot.opts()).length}

Options

- - + +
{/if} diff --git a/src/client/debug/ai/Options.svelte b/src/client/debug/ai/Options.svelte index 1620d0db5..d3e18b768 100644 --- a/src/client/debug/ai/Options.svelte +++ b/src/client/debug/ai/Options.svelte @@ -11,6 +11,8 @@ bot.setOpt(key, value); } } + + const makeID = (key) => 'ai-option-' + key;