Jump to content

Module:Inventory slot: Difference between revisions

m
no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
Line 25: Line 25:
function p.createSlot( f )
function p.createSlot( f )
local args = f
local args = f
if f == mw.getCurrentFrame() then  
local currentFrame = mw.getCurrentFrame()
if f == currentFrame then  
args = require( 'Module:ProcessArgs' ).merge( true )
args = require( 'Module:ProcessArgs' ).merge( true )
else
else
f = mw.getCurrentFrame()
f = currentFrame
end
end