From a20d3bc07e64b974ad64893a5d1187a6d0d96cda Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Tue, 1 Mar 2022 12:54:36 +0100 Subject: [PATCH] Timer float --- src/kernel/Timer.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/Timer.hx b/src/kernel/Timer.hx index 8cd4798..9af4d1a 100644 --- a/src/kernel/Timer.hx +++ b/src/kernel/Timer.hx @@ -15,7 +15,7 @@ class Timer { /** Create new timer with timeout in seconds. **/ - public function new(timeout:Int, callback:Callback) { + public function new(timeout:Float, callback:Callback) { timerID = OS.startTimer(timeout); this.callback = callback;