diff --git a/resources/tomato-plant/interact.js b/resources/tomato-plant/interact.js index 53261aa..9283211 100644 --- a/resources/tomato-plant/interact.js +++ b/resources/tomato-plant/interact.js @@ -24,6 +24,7 @@ for (let i = 0; i < 10; ++i) { " source: '/resources/tomato/tomato.json',", ' })', ' ecs.destroy(entity.id)', + ' return undefined;', '}', ].join('\n'), },