From 561b9b88f4a4abcea68f47546f94fee9ec01ebf4 Mon Sep 17 00:00:00 2001 From: YPOQ <30683121+YPOQ@users.noreply.github.com> Date: Sun, 12 Nov 2017 01:08:01 -0700 Subject: [PATCH] Fixes AI anti-cheat false positives (#32627) --- code/_onclick/ai.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/_onclick/ai.dm b/code/_onclick/ai.dm index 14a0c50e7b..80b953111f 100644 --- a/code/_onclick/ai.dm +++ b/code/_onclick/ai.dm @@ -38,6 +38,8 @@ if(isnull(pixel_turf)) return if(!can_see(A)) + if(isturf(A)) //On unmodified clients clicking the static overlay clicks the turf underneath + return //So there's no point messaging admins message_admins("[key_name_admin(src)] might be running a modified client! (failed can_see on AI click of [A]([ADMIN_COORDJMP(pixel_turf)]))") var/message = "[key_name(src)] might be running a modified client! (failed can_see on AI click of [A]([COORD(pixel_turf)]))" log_admin(message)