This commit is contained in:
Riley Labrecque
2014-01-29 12:59:35 +02:00
parent 84141487ef
commit c089bcacfa
76 changed files with 956 additions and 376 deletions
+6 -2
View File
@@ -56,8 +56,12 @@ public:
AddMenuItem( CLobbyMenu::MenuItem_t( "Set myself as Ready", menuItem ) );
}
// bugbug taylor make it so we can find out who the lobby owner is
bool bLobbyOwner = true;
// see if the local user is the owner of this lobby
bool bLobbyOwner = false;
if ( SteamUser()->GetSteamID() == SteamMatchmaking()->GetLobbyOwner( steamIDLobby ) )
{
bLobbyOwner = true;
}
// start game
if ( bLobbyOwner )