From f90c15bd5e2def502396ea4e814c5a39477a21f4 Mon Sep 17 00:00:00 2001 From: Jari van der Kaap Date: Sun, 26 Feb 2023 00:21:35 +0100 Subject: [PATCH] feat: added lui to always show change teams button on teams gamemode --- data/ui_scripts/party/__init__.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/ui_scripts/party/__init__.lua diff --git a/data/ui_scripts/party/__init__.lua b/data/ui_scripts/party/__init__.lua new file mode 100644 index 00000000..5416f138 --- /dev/null +++ b/data/ui_scripts/party/__init__.lua @@ -0,0 +1,9 @@ + +-- Removed check for public matches to allow team change in ranked matches +CoD.IsTeamChangeAllowed = function() + if Engine.GetGametypeSetting( "allowInGameTeamChange" ) == 1 then + return true + else + return false + end +end \ No newline at end of file