Skip to content

Commit 1e7bd16

Browse files
authored
cat blocks addon -- fix cats appearing on custom reporters
1 parent c019ab6 commit 1e7bd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addons/addons/cat-blocks/userscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export default async function ({ addon, console }) {
276276
this.sa_catBlockConstructor();
277277
}
278278
const r = originalRenderDraw.call(this, ...args);
279-
if (!this.outputConnection && !this.previousConnection) {
279+
if (this.output_ === undefined && (!this.outputConnection && !this.previousConnection)) {
280280
this.initCatStuff();
281281
}
282282
if (this.startHat_ && !this.svgFace_.firstChild) {

0 commit comments

Comments
 (0)