summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscene/main/timer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp
index 2263e82312..7e3c5db5bc 100755
--- a/scene/main/timer.cpp
+++ b/scene/main/timer.cpp
@@ -66,8 +66,7 @@ void Timer::_notification(int p_what) {
if (time_left < 0) {
if (!one_shot)
- //time_left = wait_time + time_left;
- time_left = wait_time;
+ time_left = wait_time + time_left;
else
stop();
emit_signal("timeout");