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)
This commit is contained in:
Fikou
2022-05-06 00:35:42 -07:00
committed by GitHub
parent 45f3230a58
commit af4d3be9ef
+1 -1
View File
@@ -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