play one more day and it fixes it probably just a simple coding typo prolly put money>endingMoney instead of money>=endingMoney