From 723a7d65eb10e854ce0f3747f552b57464689123 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Fri, 3 Jun 2022 01:47:03 +0200 Subject: [PATCH] Allow team change --- data/ui_scripts/patches/__init__.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/ui_scripts/patches/__init__.lua b/data/ui_scripts/patches/__init__.lua index ac0118ac..693a249b 100644 --- a/data/ui_scripts/patches/__init__.lua +++ b/data/ui_scripts/patches/__init__.lua @@ -7,3 +7,7 @@ function GetGameModeName() return Engine.Localize(Engine.TableLookup(GameTypesTable.File, GameTypesTable.Cols.Ref, GameX.GetGameMode(), GameTypesTable.Cols.Name)) end + +function NeverAllowChangeTeams() + return false +end