fixes bug where Lobby Owner was unable to be set

This commit is contained in:
Kyle Kukshtel 2017-08-16 19:45:35 -07:00
parent 9516d1ed7a
commit fd14512e28
2 changed files with 2 additions and 1 deletions

View File

@ -94,6 +94,7 @@
<ItemGroup>
<Compile Include="Client\Achievements.cs" />
<Compile Include="Client\Client.cs" />
<Compile Include="Client\Lobby.cs" />
<Compile Include="Client\RichPresence.cs" />
<Compile Include="Client\Leaderboard.cs" />
<Compile Include="Client\App.cs" />

View File

@ -421,7 +421,7 @@ public ulong Owner
}
return _owner;
}
private set
set
{
if (_owner == value) return;
if (client.native.matchmaking.SetLobbyOwner(CurrentLobby, value)) { _owner = value; }