Use original haxe.Timer in macros.
During macros, `System.getTimer()` falls through to `Sys.time()`, which is the same thing the original `haxe.Timer` uses. Therefore this change produces the same behavior but reduces the number of classes imported, which may help prevent errors.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package haxe;
|
||||
|
||||
#if !lime_cffi
|
||||
#if (!lime_cffi || macro)
|
||||
// Original haxe.Timer class
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user