Skip to content

Commit 12fabab

Browse files
committed
Fixed a bug that preload path error
1 parent a05b5e9 commit 12fabab

File tree

1 file changed

+1
-1
lines changed
  • extensions/cocostudio/loader

1 file changed

+1
-1
lines changed

extensions/cocostudio/loader/load.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ cc.loader.register(["json"], {
259259
normalUrl = path._normalize(tmpUrl);
260260
if(!ccs.load.validate[normalUrl]){
261261
ccs.load.validate[normalUrl] = true;
262-
list.push(tmpUrl);
262+
list.push(normalUrl);
263263
}
264264
}
265265
cc.loader.load(list, function(){

0 commit comments

Comments
 (0)