Fixed a bug in server code for calculateWinnings, upped bet time