Fix game.role_timers not effecting the antag menu (#25964)
* Fix game.role_timers not effecting the antag menu * Yeah i guess i should
This commit is contained in:
parent
e4a4f00626
commit
1eb2bcf455
1 changed files with 1 additions and 7 deletions
|
|
@ -88,12 +88,6 @@ public sealed class JobRequirementsManager
|
|||
return false;
|
||||
}
|
||||
|
||||
if (job.Requirements == null ||
|
||||
!_cfg.GetCVar(CCVars.GameRoleTimers))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
var player = _playerManager.LocalSession;
|
||||
if (player == null)
|
||||
return true;
|
||||
|
|
@ -105,7 +99,7 @@ public sealed class JobRequirementsManager
|
|||
{
|
||||
reason = null;
|
||||
|
||||
if (requirements == null)
|
||||
if (requirements == null || !_cfg.GetCVar(CCVars.GameRoleTimers))
|
||||
return true;
|
||||
|
||||
var reasons = new List<string>();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue