diff options
Diffstat (limited to 'editor/editor_scale.cpp')
-rw-r--r-- | editor/editor_scale.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/editor_scale.cpp b/editor/editor_scale.cpp index 358241cbcc..450de75328 100644 --- a/editor/editor_scale.cpp +++ b/editor/editor_scale.cpp @@ -35,10 +35,9 @@ static float scale = 1.0; void editor_set_scale(float p_scale) { - scale = p_scale; } -float editor_get_scale() { +float editor_get_scale() { return scale; } |