Does two pair beat a flush or just when they want you out of a game

does two pair beat a flush or just when they want you out of a game

You have the hand id? Two pair never wins from flush, think you saw it wrong and was it not 2 pair or no flush (never saw a wrong hand winning).

You played Hold’em or Omaha?