From 041c899a358ef45c4b02ccb9b58d17026864de74 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Wed, 3 Feb 2021 17:54:49 +0000 Subject: [PATCH] Comments are now treated as disabled so that they do not interfere with the Dish type. Closes #1126 and #1132. Thanks to @mt3571 for the suggestion. --- src/core/Recipe.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Recipe.mjs b/src/core/Recipe.mjs index 14cb39b7..0f31690b 100755 --- a/src/core/Recipe.mjs +++ b/src/core/Recipe.mjs @@ -46,7 +46,7 @@ class Recipe { module: OperationConfig[c.op].module, ingValues: c.args, breakpoint: c.breakpoint, - disabled: c.disabled, + disabled: c.disabled || c.op === "Comment", }); }); }