Add a dedi as node, when you connect to it

This commit is contained in:
momo5502 2016-09-25 20:15:33 +02:00
parent c9c3d9f866
commit 8c7d6721ce
2 changed files with 3 additions and 1 deletions

2
deps/fmt vendored

@ -1 +1 @@
Subproject commit 1fb0586b065c4202e976528a6bdc6384dc56dc04
Subproject commit 64a00166803039b6c79d4eb60975a236025bbe18

View File

@ -24,6 +24,8 @@ namespace Components
void Party::Connect(Network::Address target)
{
Node::AddNode(target);
Party::Container.Valid = true;
Party::Container.AwaitingPlaylist = false;
Party::Container.JoinTime = Game::Sys_Milliseconds();