1 decade ago by Snowleopard
not sure if this is a bug, or if I'm doing something wrong, but I thought I'd report it just in case. I've added a bunch of one element to my level, and I would think that it should be only required by the module once, but it's being repeated for each instance:
ig.module( 'game.levels.main' )
.requires('impact.image','game.entities.player','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses')
...if I manually delete all of those it appears to still work fine. Wondering if there should be a check added to prevent this?
ig.module( 'game.levels.main' )
.requires('impact.image','game.entities.player','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.rock','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses','game.entities.grasses')
...if I manually delete all of those it appears to still work fine. Wondering if there should be a check added to prevent this?