Module:Sprite: Difference between revisions

fix slight mistake that broke aliases
(big test, if this works maybe things will be a bit better)
(fix slight mistake that broke aliases)
Line 171: Line 171:
if self.__source.ids[itemName].spriteSheet then
if self.__source.ids[itemName].spriteSheet then
-- self.__settings.image = getSpriteSheet(self.__source.ids[itemName].spriteSheet)
-- self.__settings.image = getSpriteSheet(self.__source.ids[itemName].spriteSheet)
        self.__settings.classname = require(types[self.__source.ids[item].spriteSheet]).settings.classname
                self.__settings.classname = require(types[self.__source.ids[itemName].spriteSheet]).settings.classname
end
end
end
end
184

edits