Skip to content

Commit

Permalink
fix error with disease system nullability
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed Jan 21, 2024
1 parent 0ed3894 commit d1a822d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Disease/DiseaseSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public void TryAddDisease(EntityUid host, DiseasePrototype addedDisease, Disease

foreach (var disease in target.AllDiseases)
{
if (disease.ID == addedDisease?.ID) //ID because of the way protoypes work
if (disease.ID == addedDisease.ID) //ID because of the way protoypes work
return;
}

Expand Down

0 comments on commit d1a822d

Please sign in to comment.