Преглед изворни кода

"delay" now returns the created timer

Nicolas Cannasse пре 16 година
родитељ
комит
9de3c36c56
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      std/haxe/Timer.hx

+ 1 - 0
std/haxe/Timer.hx

@@ -79,6 +79,7 @@ class Timer {
 			t.stop();
 			f();
 		};
+		return t;
 	}
 
 	#end