From 39e3e7e38d3ce78eda9c5ac3832e96c7a51eb855 Mon Sep 17 00:00:00 2001 From: RorotoSic <70805756+RorotoSic@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:42:12 +0100 Subject: [PATCH] remove " _ " before my variable name hope this was the problem --- src/UI/Buttons/BrushButton.gd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/UI/Buttons/BrushButton.gd b/src/UI/Buttons/BrushButton.gd index 93a23ee7d..403e700cf 100644 --- a/src/UI/Buttons/BrushButton.gd +++ b/src/UI/Buttons/BrushButton.gd @@ -37,11 +37,11 @@ func _flip_rotate_updated( ): $BrushTexture.set_flip_h(flip_x) $BrushTexture.set_flip_v(flip_y) - var _rotation_BrushTexture = 0 + var rotation_BrushTexture = 0 if rotate_90 == true: - _rotation_BrushTexture += 90 + rotation_BrushTexture += 90 if rotate_180 == true: - _rotation_BrushTexture += 180 + rotation_BrushTexture += 180 if rotate_270 == true: - _rotation_BrushTexture += 270 - $BrushTexture.rotation_degrees = _rotation_BrushTexture + rotation_BrushTexture += 270 + $BrushTexture.rotation_degrees = rotation_BrushTexture