From 8c7d6721ce8c7e749d0272d7e03466e097933c1a Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 25 Sep 2016 20:15:33 +0200 Subject: [PATCH] Add a dedi as node, when you connect to it --- deps/fmt | 2 +- src/Components/Modules/Party.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/fmt b/deps/fmt index 1fb0586b..64a00166 160000 --- a/deps/fmt +++ b/deps/fmt @@ -1 +1 @@ -Subproject commit 1fb0586b065c4202e976528a6bdc6384dc56dc04 +Subproject commit 64a00166803039b6c79d4eb60975a236025bbe18 diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index ed693242..9cb6fbd2 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -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();