diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index 049a211f..8f672c80 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -842,7 +842,7 @@ "looseLootBlacklist": {}, "scavRaidTimeSettings": { "settings": { - "trainArrivalDelaySeconds": 90 + "trainArrivalDelayObservedSeconds": 90 }, "maps": { "bigmap": { diff --git a/project/src/models/spt/config/ILocationConfig.ts b/project/src/models/spt/config/ILocationConfig.ts index 292388f4..e59469d0 100644 --- a/project/src/models/spt/config/ILocationConfig.ts +++ b/project/src/models/spt/config/ILocationConfig.ts @@ -115,7 +115,7 @@ export interface IScavRaidTimeSettings export interface IScavRaidTimeConfigSettings { - trainArrivalDelaySeconds: number + trainArrivalDelayObservedSeconds: number } export interface IScavRaidTimeLocationSettings diff --git a/project/src/services/RaidTimeAdjustmentService.ts b/project/src/services/RaidTimeAdjustmentService.ts index a5b7fc68..fbcad8b2 100644 --- a/project/src/services/RaidTimeAdjustmentService.ts +++ b/project/src/services/RaidTimeAdjustmentService.ts @@ -226,7 +226,7 @@ export class RaidTimeAdjustmentService // // I added 2 seconds just to be safe... // - const trainArrivalDelaySeconds = this.locationConfig.scavRaidTimeSettings.settings.trainArrivalDelaySeconds; + const trainArrivalDelaySeconds = this.locationConfig.scavRaidTimeSettings.settings.trainArrivalDelayObservedSeconds; // Determine the earliest possible time in the raid when the train would leave const earliestPossibleDepartureMinutes = (exit.MinTime + exit.Count + exit.ExfiltrationTime + trainArrivalDelaySeconds) / 60;