Module:Sprite: Difference between revisions

Jump to navigation Jump to search
m
It's far too late, I'm tired and really should stop making edits.
m (Oh I'm dumb, that was just a index mistake)
m (It's far too late, I'm tired and really should stop making edits.)
Line 157: Line 157:
local itemName = aliases[item].name
local itemName = aliases[item].name
self:setPosition(self.__source.ids[itemName].pos)
self:setPosition(self.__source.ids[itemName].pos)
if self.__source.ids[itenName].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)
end
end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu