aboutsummaryrefslogtreecommitdiff
path: root/scene/main/timer.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-12-07 02:04:20 -0300
committerJuan Linietsky2014-12-07 02:04:20 -0300
commitc79be979d47daae613d1b1bbc732a30a74f56543 (patch)
tree9edaf684a8d3ff47b124d03e04c01f927c197255 /scene/main/timer.cpp
parentf7c9a4a0a8ab770dfe565c31c7c47585beb53594 (diff)
downloadgodot-c79be979d47daae613d1b1bbc732a30a74f56543.tar.gz
godot-c79be979d47daae613d1b1bbc732a30a74f56543.tar.zst
godot-c79be979d47daae613d1b1bbc732a30a74f56543.zip
Diffstat (limited to 'scene/main/timer.cpp')
-rw-r--r--scene/main/timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp
index 2ae918f3f..f718a0957 100644
--- a/scene/main/timer.cpp
+++ b/scene/main/timer.cpp
@@ -40,7 +40,8 @@ void Timer::_notification(int p_what) {
#ifdef TOOLS_ENABLED
if (get_tree()->is_editor_hint() && get_tree()->get_edited_scene_root() && (get_tree()->get_edited_scene_root()==this || get_tree()->get_edited_scene_root()->is_a_parent_of(this)))
break;
-#endif start();
+#endif
+ start();
}
} break;
case NOTIFICATION_PROCESS: {