From 3fff1b6af2d8752f6a210c01348990f5179f9451 Mon Sep 17 00:00:00 2001 From: underscorediscovery Date: Wed, 21 Aug 2013 06:32:03 -0230 Subject: [PATCH] fixing bug in timer types --- haxe/Timer.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haxe/Timer.hx b/haxe/Timer.hx index d2ca3b8ef..22685371f 100644 --- a/haxe/Timer.hx +++ b/haxe/Timer.hx @@ -13,7 +13,7 @@ class Timer { /** Create a new timer that will run every [time_ms] (in milliseconds). **/ - public function new( time_ms : Int ){ + public function new( time_ms : Float ){ #if flash9 var me = this; id = untyped __global__["flash.utils.setInterval"](function() { me.run(); },time_ms);