feat: added lui to always show change teams button on teams gamemode
This commit is contained in:
parent
a6906c51f6
commit
f90c15bd5e
9
data/ui_scripts/party/__init__.lua
Normal file
9
data/ui_scripts/party/__init__.lua
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user