Permalink
Browse files

fix bug of init

  • Loading branch information...
1 parent 3ff06a5 commit f075c2d012bcf43bcc68eace60af2e2842031c0b lwj committed Dec 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 web-server/public/js/utils/resourceLoader.js
@@ -68,9 +68,9 @@ __resources__["/resourceLoader.js"] = {
self.loadNpc(data.npcs);
self.loadItem(data.items);
self.loadEquipment(data.equipments);
+ initObjectPools(data.mobs, EntityType.MOB);
+ initObjectPools(data.players, EntityType.PLAYER);
});
- initObjectPools(data.mobs, EntityType.MOB);
- initObjectPools(data.players, EntityType.PLAYER);
});
};

0 comments on commit f075c2d

Please sign in to comment.