From b32168dce6642853d3712ee6d7f0a8e67e65f25c Mon Sep 17 00:00:00 2001 From: WantedDV <122710241+WantedDV@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:50:41 -0230 Subject: [PATCH] Make these changes InGame only --- data/ui_scripts/party/__init__.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/ui_scripts/party/__init__.lua b/data/ui_scripts/party/__init__.lua index a2a96f46..5821c1fd 100644 --- a/data/ui_scripts/party/__init__.lua +++ b/data/ui_scripts/party/__init__.lua @@ -1,3 +1,7 @@ +if not Engine.IsInGame() then + return +end + -- Removed check for public matches to allow team change in ranked matches CoD.IsTeamChangeAllowed = function() if Engine.GetGametypeSetting( "allowInGameTeamChange" ) == 1 then