mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
unlock DLC classes
This commit is contained in:
parent
ecc247fe51
commit
17f5e2b35c
@ -184,3 +184,12 @@ luiglobals.Cac.IsCustomClassLocked = function(...)
|
||||
|
||||
return isclasslocked(table.unpack({...}))
|
||||
end
|
||||
|
||||
local isdlcclasslocked = luiglobals.Cac.IsCustomClassDlcLocked
|
||||
luiglobals.Cac.IsCustomClassDlcLocked = function(...)
|
||||
if (Engine.GetDvarBool("cg_unlockall_classes")) then
|
||||
return false
|
||||
end
|
||||
|
||||
return isdlcclasslocked(table.unpack({...}))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user