Posted June 17, 2022 by b._.render
So in my game you buy stock, move towns, than sell the stock. There are 3 game modes "unlimited, 100 day, 10 day" and I added a quit button on each screen... so what happened ?
I allowed for the player to move product and money between game modes ( by accident). This was because I was using the same variable to store the players stash and money which didn't get reset until the end of a game. I should probably split each game modes data up but I fixed it quick by resetting the variable before the game starts...
There are still quite a few bugs I cant squash but i think I got this one... for now