I have it set up currently so that every time MonthInYear = 13, (the game is turn-based with each month being a turn), it sets Year.old to Year, adds one to Year, then sets MonthInYear to one. Later I have it set so that if Year.old is different then year, it will do something. This is vital to my game. The problem is, this process only works once. I had it working earlier, but I threw a bunch of new code at it and now it doesn't work. I recreated the function twice. The months still count up properly and cycle back to 1, and the years even cycle correctly, but the functions that I have set up to do every year don't run.
What would be a better way to do this?