Changes

add __call metamethod
Line 19: Line 19:  
end
 
end
 
end
 
end
 +
 +
Equipment.__call = Equipment.create
 +
setmetatable(Equipment, Equipment)
    
return Equipment
 
return Equipment
Anonymous user