diff --git a/tutorials/plugins/running_code_in_the_editor.rst b/tutorials/plugins/running_code_in_the_editor.rst index e9b8825aa40..056268c5ad2 100644 --- a/tutorials/plugins/running_code_in_the_editor.rst +++ b/tutorials/plugins/running_code_in_the_editor.rst @@ -237,7 +237,7 @@ angle add a setter ``set(new_speed)`` which is executed with the input from the public override void _Process(double delta) { - Rotation += Mathf.Pi * (float)delta * speed; + Rotation += Mathf.Pi * (float)delta * _speed; } }