mirror of
https://github.com/rlabrecque/SteamworksSDK.git
synced 2026-10-10 09:33:04 +08:00
v1.04
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user