Fix lobby
This commit is contained in:
@@ -218,16 +218,13 @@ public class ObjectManager(
|
|||||||
}
|
}
|
||||||
|
|
||||||
//c+ custom
|
//c+ custom
|
||||||
[Obsolete("To be updated for DT")]
|
|
||||||
private unsafe bool AddLobbyCharacter()
|
private unsafe bool AddLobbyCharacter()
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
/*
|
|
||||||
var agent = AgentLobby.Instance();
|
var agent = AgentLobby.Instance();
|
||||||
if (agent == null || agent->LobbyData.CharaSelectEntries.LongCount() == 0)
|
if (agent == null || agent->LobbyData.CharaSelectEntries.LongCount() == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var chara = agent->LobbyData.CharaSelectEntries.Get((ulong)agent->SelectedCharacterContentId).Value;
|
var chara = agent->LobbyData.CharaSelectEntries[(long)agent->SelectedCharacterContentId].Value;
|
||||||
if (chara == null)
|
if (chara == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@@ -238,6 +235,6 @@ public class ObjectManager(
|
|||||||
|
|
||||||
HandleIdentifier(actors.CreatePlayer(new ByteString(chara->Name), chara->HomeWorldId), actor);
|
HandleIdentifier(actors.CreatePlayer(new ByteString(chara->Name), chara->HomeWorldId), actor);
|
||||||
|
|
||||||
return true;*/
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user