From 879bb6c0c07e40f0ec6851a5bcc10cffe876ac04 Mon Sep 17 00:00:00 2001 From: AnturK Date: Sun, 20 Dec 2015 19:36:10 +0100 Subject: [PATCH] A bit more sensible solution --- code/modules/mob/living/simple_animal/bot/bot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 3e0ac2c343c..ee4b94010ec 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -759,7 +759,7 @@ Pass a positive integer as an argument to override a bot's default speed. qdel(src) /mob/living/simple_animal/bot/proc/topic_denied(mob/user) //Access check proc for bot topics! Remember to place in a bot's individual Topic if desired. - if(!Adjacent(user) && !issilicon(user)) + if(!user.canUseTopic(src)) return 1 // 0 for access, 1 for denied. if(emagged == 2) //An emagged bot cannot be controlled by humans, silicons can if one hacked it.