From f9d59879935a083d90c2bb18d816ab64e8fc3386 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 15 Jun 2018 04:47:11 -0500 Subject: [PATCH] [MIRROR] [s]Diseases lose scan invisibility if their stealth drops below the threshold (#7082) * Merge pull request #38415 from XDTM/master_of_disguise [s]Diseases lose scan invisibility if their stealth drops below the threshold * [s]Diseases lose scan invisibility if their stealth drops below the threshold --- code/datums/diseases/advance/advance.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/datums/diseases/advance/advance.dm b/code/datums/diseases/advance/advance.dm index 67eb33277a..ddb924f740 100644 --- a/code/datums/diseases/advance/advance.dm +++ b/code/datums/diseases/advance/advance.dm @@ -189,7 +189,9 @@ if(properties && properties.len) if(properties["stealth"] >= 2) - visibility_flags = HIDDEN_SCANNER + visibility_flags |= HIDDEN_SCANNER + else + visibility_flags &= ~HIDDEN_SCANNER SetSpread(CLAMP(2 ** (properties["transmittable"] - symptoms.len), DISEASE_SPREAD_BLOOD, DISEASE_SPREAD_AIRBORNE))