Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop

This commit is contained in:
Chomp
2025-02-06 16:40:44 +00:00
2 changed files with 11 additions and 12 deletions
@@ -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;
+10 -10
View File
@@ -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>();
}
/**