Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop
This commit is contained in:
@@ -50,8 +50,7 @@ public class InsuranceCallbacks(
|
||||
public bool OnUpdate(long timeSinceLastRun)
|
||||
{
|
||||
if (timeSinceLastRun > Math.Max(_insuranceConfig.RunIntervalSeconds, 1))
|
||||
// _insuranceController.ProcessReturn();
|
||||
// TODO: InsuranceController is not implemented rn
|
||||
_insuranceController.ProcessReturn();
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
@@ -23,19 +23,19 @@ public class BackupService
|
||||
protected Timer _backupIntervalTimer;
|
||||
|
||||
public BackupService(
|
||||
ISptLogger<BackupService> _logger,
|
||||
JsonUtil _jsonUtil,
|
||||
TimeUtil _timeUtil,
|
||||
ConfigServer _configServer,
|
||||
FileUtil _fileUtil)
|
||||
ISptLogger<BackupService> logger,
|
||||
JsonUtil jsonUtil,
|
||||
TimeUtil timeUtil,
|
||||
ConfigServer configServer,
|
||||
FileUtil fileUtil)
|
||||
{
|
||||
this._logger = _logger;
|
||||
this._jsonUtil = _jsonUtil;
|
||||
this._timeUtil = _timeUtil;
|
||||
this._fileUtil = _fileUtil;
|
||||
_logger = logger;
|
||||
_jsonUtil = jsonUtil;
|
||||
_timeUtil = timeUtil;
|
||||
_fileUtil = fileUtil;
|
||||
|
||||
_activeServerMods = GetActiveServerMods();
|
||||
_backupConfig = _configServer.GetConfig<BackupConfig>();
|
||||
_backupConfig = configServer.GetConfig<BackupConfig>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user