Minor fix

This commit is contained in:
Joshua Granick
2018-12-07 14:31:09 -08:00
parent b8aa0df9dc
commit 56a6ec0a08

View File

@@ -739,6 +739,13 @@ class AssetLibrary {
}
@:noCompletion private function __cacheBreak (path:String):String {
return Assets.__cacheBreak (path);
}
@:noCompletion private function __fromManifest (manifest:AssetManifest):Void {
var hasSize = (manifest.version >= 2);
@@ -755,7 +762,7 @@ class AssetLibrary {
if (Reflect.hasField (asset, "path")) {
paths.set (id, Assets.__cacheBreak (basePath + Reflect.field (asset, "path")));
paths.set (id, __cacheBreak (basePath + Reflect.field (asset, "path")));
}
@@ -765,7 +772,7 @@ class AssetLibrary {
for (i in 0...pathGroup.length) {
pathGroup[i] = Assets.__cacheBreak (basePath + pathGroup[i]);
pathGroup[i] = __cacheBreak (basePath + pathGroup[i]);
}