Minor fix
This commit is contained in:
@@ -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]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user