Module:Sprite: Difference between revisions

change the image, rather than the sprite sheet (cross sprite sheets attempt #2)
(forgot the underscores)
(change the image, rather than the sprite sheet (cross sprite sheets attempt #2))
Line 157: Line 157:
self:setPosition(self.__source.ids[item].pos)
self:setPosition(self.__source.ids[item].pos)
         if self.__source.ids[item].spriteSheet then
         if self.__source.ids[item].spriteSheet then
             self.__settings.spriteSheet = self.__source.ids[item].spriteSheet;
             self.__settings.image = getSpriteSheet(self.__source.ids[item].spriteSheet)
         end
         end
else
else
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits