fix blanket whitelist not working in client (#1708)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
8f0791a852
commit
523e4220c8
|
|
@ -144,6 +144,10 @@ public sealed partial class JobRequirementsManager : ISharedPlaytimeManager
|
|||
if (!_cfg.GetCVar(CCVars.GameRoleWhitelist))
|
||||
return true;
|
||||
|
||||
// DeltaV - blanket whitelist check in client
|
||||
if (_whitelisted)
|
||||
return true;
|
||||
|
||||
if (job.Whitelisted && !_jobWhitelists.Contains(job.ID))
|
||||
{
|
||||
reason = FormattedMessage.FromUnformatted(Loc.GetString("role-not-whitelisted"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue