Fixed losing money when tied

Was testing and noticed that when you tie, you lose.  Found code and
tested again to made sure it worked.