return function(N)for N,C in pairs(N.OwnedGuns)do if not C.ExtraData then C.ExtraData={Attachments={};XP=0}end end end
--[[
    Changelog:
    - Add ExtraData and Attachments to gun instance data
]]

return function(Data)
	for _, Gun in pairs(Data.OwnedGuns) do
		if not Gun.ExtraData then
			Gun.ExtraData = {
				Attachments = {},
				XP = 0,
			}
		end
	end
end
