[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
This commit is contained in:
committed by
kevinz000
parent
457fe03ec3
commit
f9d5987993
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user