+= sign not working properly unity

{
if (Calendar_script.year==2016)
if (Calendar_script.months==1)
if (detailsRegenyear1.cash1<10)
detailsRegenyear1.RegenPrice1 += 2;
}

That works fine but when I change scenes and go back into that scene with that script in in it doubles the amount.

I doubt there is a problem with +=. Without seeing more code, we can only guess as the issue. Maybe you have more than one game object with the above script. Is ‘detailsRegenyear1’ static?