Fixed exploit that allowed players to buy more resources then they had cash for.