Prevents console from printing winner message twice