Make these changes InGame only

This commit is contained in:
WantedDV 2023-04-12 19:50:41 -02:30
parent 6a25f0e4ab
commit b32168dce6

View File

@ -1,3 +1,7 @@
if not Engine.IsInGame() then
return
end
-- Removed check for public matches to allow team change in ranked matches -- Removed check for public matches to allow team change in ranked matches
CoD.IsTeamChangeAllowed = function() CoD.IsTeamChangeAllowed = function()
if Engine.GetGametypeSetting( "allowInGameTeamChange" ) == 1 then if Engine.GetGametypeSetting( "allowInGameTeamChange" ) == 1 then