I guess the question is how do you AMOG with people you need to maintain a relationship with later?

My scenario: Flirting, another guy comes into the conversation won't leave, unfortunately the guy may become of value in my studies (non PUA related) and I would prefer not to create animosity/Tension.