Skip to content

Commit

Permalink
Fix lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
RisaDev committed Aug 3, 2024
1 parent 68087ec commit f96b210
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CustomizePlus.GameData/Services/ObjectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,13 @@ public bool GetName(string lowerName, out Actor actor)
}

//c+ custom
[Obsolete("To be updated for DT")]
private unsafe bool AddLobbyCharacter()
{
return false;
/*
var agent = AgentLobby.Instance();
if (agent == null || agent->LobbyData.CharaSelectEntries.LongCount() == 0)
return false;

var chara = agent->LobbyData.CharaSelectEntries.Get((ulong)agent->SelectedCharacterContentId).Value;
var chara = agent->LobbyData.CharaSelectEntries[(long)agent->SelectedCharacterContentId].Value;
if (chara == null)
return false;

Expand All @@ -238,6 +235,6 @@ private unsafe bool AddLobbyCharacter()

HandleIdentifier(actors.CreatePlayer(new ByteString(chara->Name), chara->HomeWorldId), actor);

return true;*/
return true;
}
}

0 comments on commit f96b210

Please sign in to comment.