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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user