summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-06-29 09:13:20 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-06-29 09:13:39 -0300
commit0ffec7daf762b74c7453aa22b71865e63660901c (patch)
tree5fc591fe1b15d6b4eefd47560bdfe65ad2c38415 /scene/resources
parentb7f17a100d43af1df6ff11f2a81d1aeb170d2d69 (diff)
Small fixes
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index fe4d687c23..3185fb6768 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -134,8 +134,8 @@ bool Animation::_set(const StringName &p_name, const Variant &p_value) {
int um = d["update"];
if (um < 0)
um = 0;
- else if (um > 2)
- um = 2;
+ else if (um > 3)
+ um = 3;
vt->update_mode = UpdateMode(um);
}