fixed condition where game continues after won