Merge pull request #3898 from Citadel-Station-13/upstream-merge-32627

[MIRROR] Fixes AI anti-cheat false positives
This commit is contained in:
LetterJay
2017-11-12 08:21:56 -06:00
committed by GitHub

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)