This commit is contained in:
kevinz000
2020-05-20 07:46:58 -07:00
parent fd5c635840
commit 89a14a82f0
5 changed files with 16 additions and 2 deletions

View File

@@ -789,7 +789,9 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
log_game("[key_name(src)] is using the middle click aimbot exploit")
message_admins("[ADMIN_LOOKUPFLW(src)] [ADMIN_KICK(usr)] is using the middle click aimbot exploit</span>")
add_system_note("aimbot", "Is using the middle click aimbot exploit")
log_click(object, location, control, params, src, "lockout (spam - minute ab c [ab] s [middragtime])")
else
log_click(object, location, control, params, src, "lockout (spam - minute)")
log_game("[key_name(src)] Has hit the per-minute click limit of [mcl] clicks in a given game minute")
message_admins("[ADMIN_LOOKUPFLW(src)] [ADMIN_KICK(usr)] Has hit the per-minute click limit of [mcl] clicks in a given game minute")
to_chat(src, "<span class='danger'>[msg]</span>")
@@ -809,8 +811,12 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
return
if(ab) //Citadel edit, things with stuff.
log_click(object, location, control, params, src, "dropped (ab c [ab] s [middragtime])")
return
if(prefs.log_clicks)
log_click(object, location, control, params, src)
if (prefs.hotkeys)
// If hotkey mode is enabled, then clicking the map will automatically
// unfocus the text bar. This removes the red color from the text bar

View File

@@ -20,6 +20,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/muted = 0
var/last_ip
var/last_id
var/log_clicks = FALSE
var/icon/custom_holoform_icon
var/list/cached_holoform_icons