Module:Inventory slot: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 120: Line 120:
else
else
-- Fall back to an individual image if the sprite is lacking
-- Fall back to an individual image if the sprite is lacking
img = i18n.filename:gsub( '%$1', name .. '.png' )
img = i18n.filename:gsub( '%$1', name .. '.gif' ) or i18n.filename:gsub( '%$1', name .. '.png' )
end
end