diff --git a/lime/Assets.hx b/lime/Assets.hx index 7a4139cbf..38b75877e 100644 --- a/lime/Assets.hx +++ b/lime/Assets.hx @@ -1512,8 +1512,7 @@ class AssetCache { private static macro function cacheVersion () { - var version = Std.int (Math.random () * 1000000); - return Context.makeExpr (version, Context.currentPos ()); + return macro $v{ Std.int (Math.random () * 1000000) }; }