Salty foods can make you retain water and you are advised to be careful with salt intake if you struggle with oedema (I do!). I don't know if it affects weight gain if you don't, but maybe this helps? Its just water weight though if it is, and will be off soon enough