diff --git a/src/ui/React/LogBoxManager.tsx b/src/ui/React/LogBoxManager.tsx index 78f89265f..68814eea6 100644 --- a/src/ui/React/LogBoxManager.tsx +++ b/src/ui/React/LogBoxManager.tsx @@ -27,6 +27,7 @@ export function LogBoxManager(): React.ReactElement { () => LogBoxEvents.subscribe((script: RunningScript) => { const id = script.server + "-" + script.filename + script.args.map((x: any): string => `${x}`).join("-"); + if (logs.find((l) => l.id === id)) return; setLogs((old) => { return [ ...old,