From af4d3be9ef172c570ba4f3aee24ef5e73b5e4770 Mon Sep 17 00:00:00 2001 From: Fikou <23585223+Fikou@users.noreply.github.com> Date: Fri, 6 May 2022 09:35:42 +0200 Subject: [PATCH] fixes shy component's whitelist accidentally being a blacklist (#66665) its a list where we continued if the person was NOT in the whitelist, it continued to the next, so it broke if there was a drone nearby, instead of breaking when there was a human enarby or whatever fixes #66577 (Station Drones aren't allowed to interact while near another Station Drone) --- code/datums/components/shy.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/shy.dm b/code/datums/components/shy.dm index 8f788fcaef5..0c379654091 100644 --- a/code/datums/components/shy.dm +++ b/code/datums/components/shy.dm @@ -89,7 +89,7 @@ for(var/mob/living/person in strangers) if(person == owner) continue - if(!is_type_in_typecache(person, mob_whitelist)) + if(is_type_in_typecache(person, mob_whitelist)) continue if(!person.key && !keyless_shy) continue