I found an error where when everyone folds, the pot goes to the highest hand even if the player has folded.
The pot should go to the one person who didnt fold .
table.winners shows the proper winner, but the chips go to the person with the actual highest hand