pub fn set_enabled(enabled: bool)
Mirror the current setting into the process-wide flag. Called by the scheduler run loop once per tick.