Fixes AI anti-cheat false positives (#32627)

This commit is contained in:
YPOQ
2017-11-12 01:08:01 -07:00
committed by CitadelStationBot
parent 1f7deabbfb
commit 561b9b88f4
+2
View File
@@ -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)