mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user