we will know if you're ip evading

adds the button for vpn detection to the playtimes
This commit is contained in:
BongaTheProto
2022-02-02 23:02:18 -05:00
parent d6dd867faa
commit cf62cc2b11
3 changed files with 12 additions and 0 deletions
@@ -10,6 +10,7 @@
var/touched_canister = FALSE
var/crafted_ied = FALSE
var/touched_circuit = FALSE
var/uses_vpn = FALSE
/client/proc/cmd_player_playtimes()
set category = "Admin"
@@ -97,6 +98,12 @@
flag["tooltip"] = "This player touched a circuit printer."
flags += list(flag)
if(C.uses_vpn)
var/list/flag = list()
flag["icon"] = "wifi"
flag["tooltip"] = "This player is [round(C.ip_intel*100, 0.01)]% likely to be using a Proxy/VPN"
flags += list(flag)
return flags
/datum/player_playtime/ui_act(action, params)