Commits

Ryan Stecker  committed 3298e3e

Display no-buddy text in hud.

  • Participants
  • Parent commits 2122cd0

Comments (0)

Files changed (1)

 		new buddy = GetPairBuddy( i );
 		
 		if ( buddy == -1 )
-			continue;
-			
-		ShowSyncHudText( i, g_PairHud, "Your Buddy: %N", buddy );
+		{
+			ShowSyncHudText( i, g_PairHud, "No buddy. Type /pair in chat" );
+		}
+		else
+		{
+			ShowSyncHudText( i, g_PairHud, "Your Buddy: %N", buddy );
+		}
 	}
 }