diff --git a/Content.Server/Station/Systems/StationJobsSystem.cs b/Content.Server/Station/Systems/StationJobsSystem.cs index f8dac0688c..268d50739d 100644 --- a/Content.Server/Station/Systems/StationJobsSystem.cs +++ b/Content.Server/Station/Systems/StationJobsSystem.cs @@ -224,7 +224,7 @@ public sealed partial class StationJobsSystem : EntitySystem UpdateJobsAvailable(); return true; case true: - stationJobs.TotalJobs += amount - (int)jobList[jobPrototypeId]!.Value; + stationJobs.TotalJobs += amount - (int) (jobList[jobPrototypeId] ?? 0); jobList[jobPrototypeId] = (uint)amount; UpdateJobsAvailable();