Fixes me destroying the IDC in the last commit (#95695)

This commit is contained in:
MrMelbert
2026-04-10 00:53:59 +02:00
committed by GitHub
parent e9cc8fd978
commit ee08406e4a
3 changed files with 13 additions and 9 deletions
@@ -1,5 +1,7 @@
/datum/disease/revblight
name = "Unnatural Wasting"
desc = "A strange condition which causes the victim to feel as if they were wasting away, despite being otherwise (almost) perfectly healthy."
form = "Condition"
max_stages = 5
stage_prob = 5
spread_flags = DISEASE_SPREAD_NON_CONTAGIOUS
+2 -2
View File
@@ -433,7 +433,7 @@
"cured_by" = "Varies by symptom combination",
"id" = /datum/disease/advance,
)
disease_info += advanced_virus_info
disease_info += list(advanced_virus_info)
// validate
for(var/list/disease_data as anything in disease_info)
@@ -448,7 +448,7 @@
if(!disease_data["desc"])
disease_data["desc"] = "No description recorded - this is an error. Report this lack of research."
stack_trace("[type] - [disease_data["id"]] lacks a description!")
if(!disease_data["cured_by"])
if(!disease_data["cured_by"] && !ispath(disease_data["id"], /datum/symptom))
disease_data["cured_by"] = "Unknown"
stack_trace("[type] - [disease_data["id"]] lacks cure information!")