Skip to content

Commit b7cb9a3

Browse files
authored
cat blocks addon -- its faster to just return from here actually
1 parent 1e7bd16 commit b7cb9a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)