From 415043fb3f8d8666fdbf3dd1e35c855bfdd6a8f3 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 23 Sep 2020 03:13:04 +0200 Subject: [PATCH] [MIRROR] Removes an unneeded piece of virology RNG (#919) * Removes an unneeded piece of virology RNG (#53879) * Removes an unneeded piece of virology RNG Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com> --- code/datums/diseases/advance/advance.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/diseases/advance/advance.dm b/code/datums/diseases/advance/advance.dm index 8e9fc5755ed..aa13eb17c16 100644 --- a/code/datums/diseases/advance/advance.dm +++ b/code/datums/diseases/advance/advance.dm @@ -374,7 +374,7 @@ if(HasSymptom(S)) return - if(!(symptoms.len < (VIRUS_SYMPTOM_LIMIT - 1) + rand(-1, 1))) + if(symptoms.len >= VIRUS_SYMPTOM_LIMIT) RemoveSymptom(pick(symptoms)) symptoms += S S.OnAdd(src)