message: BitmapFont loader fix
diff: @@ -137,10 +137,19 @@ export default class BitmapFontLoader
  // using the same loader, resource will be available
  for (const name in this.resources)
  {
  - if (this.resources[name].url === url)
  + const bitmapResource = this.resources[name];
  +
  + if (bitmapResource.url === url)
  + {
  + bitmapResource.metadata.pageFile = pageFile;
  + if (bitmapResource.texture)
  {
  - this.resources[name].metadata.pageFile = pageFile;
  - completed(this.resources[name]);
  + completed(bitmapResource);
  + }
  + else
  + {
  + bitmapResource.onAfterMiddleware.add(completed);
  + }
  exists = true;
  break;
  }
  