diff --git a/deps/protobuf b/deps/protobuf index 814685ca..ca9bbd71 160000 --- a/deps/protobuf +++ b/deps/protobuf @@ -1 +1 @@ -Subproject commit 814685ca2cd9280ca401e1842fd6311440921a0a +Subproject commit ca9bbd71d547a05604e8c2bddda66cdba5abe0c4 diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index 512b3d10..4281be86 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -231,17 +231,17 @@ namespace Components { Dvar::Register("sv_maxclients", 18, 1, 18, Game::dvar_flag::DVAR_FLAG_SAVED, "The maximum number of clients that can connect to a server"); //Dvar::Register("party_maxplayers", 18, 0, 18, Game::dvar_flag::DVAR_FLAG_NONE, "Use sv_maxclients to adjust players!"); - Dvar::Register("ui_maxclients", 18, 0, 18, Game::dvar_flag::DVAR_FLAG_NONE, "Use sv_maxclients to adjust players!"); + //Dvar::Register("ui_maxclients", 18, 0, 18, Game::dvar_flag::DVAR_FLAG_NONE, "Use sv_maxclients to adjust players!"); }); // Synchronize maxplayers dvars - QuickPatch::OnFrame([] () + /*QuickPatch::OnFrame([] () { if (!Dvar::Var("party_enable").Get()) { Dvar::Var("ui_maxclients").SetRaw(Dvar::Var("sv_maxclients").Get()); } - }); + });*/ Command::Add("connect", [] (Command::Params params) {