1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Small fixes

This commit is contained in:
Juan Linietsky
2018-06-29 09:13:20 -03:00
parent b7f17a100d
commit 0ffec7daf7
3 changed files with 21 additions and 5 deletions

View File

@@ -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);
}