Skip to content

Commit a6727ae

Browse files
committed
Fix: Add await in front of robutek.rotate
1 parent 30151f4 commit a6727ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/customBlocks/categories/Robutek.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Blocks['robutek_rotate'] = {
292292
}
293293

294294
jsg.forBlock['robutek_rotate'] = function (b: Block, g: JsG) {
295-
return 'robutek.rotate(' + getVal(g, b, 'ANGLE') + ');\n';
295+
return 'await robutek.rotate(' + getVal(g, b, 'ANGLE') + ');\n';
296296
}
297297

298298
// ---- //

0 commit comments

Comments
 (0)