diff --git a/block_types/template_function_call_block.py b/block_types/template_function_call_block.py index 198e604..140d46d 100644 --- a/block_types/template_function_call_block.py +++ b/block_types/template_function_call_block.py @@ -42,7 +42,7 @@ def compile(self, func): # Calculate function arguments for i in range(len(args)): - assignto = scoreboard_var(f'Global', 'Param{i}') + assignto = scoreboard_var(f'Global', f'Param{i}') arg_var = args[i].compile(func, assignto) assignto.copy_from(func, arg_var)