mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 20:26:47 +01:00
we will know if you're ip evading
adds the button for vpn detection to the playtimes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user