mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
removes tgui sonar, dev server oversights (#17929)
* removes tgui sonar, dev server oversights * Update retrace.ts * tgui-core up * update depts * . * . * be gone IE stuff * . * prettier * . * . * . * up for bins * . * . * . * . * . * fix that * .
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
var/broken = FALSE
|
||||
var/initialized_at
|
||||
var/oldchat = FALSE
|
||||
/// Each client notifies on protected playback, so this prevents spamming admins.
|
||||
var/static/admins_warned = FALSE
|
||||
|
||||
/datum/tgui_panel/New(client/client, id)
|
||||
src.client = client
|
||||
@@ -101,6 +103,14 @@
|
||||
if(type == "audio/setAdminMusicVolume")
|
||||
client.admin_music_volume = payload["volume"]
|
||||
return TRUE
|
||||
|
||||
if(type == "audio/protected")
|
||||
if(!admins_warned)
|
||||
message_admins(span_notice("Audio returned a protected playback error, likely due to being copyrighted."))
|
||||
admins_warned = TRUE
|
||||
addtimer(VARSET_CALLBACK(src, admins_warned, FALSE), 10 SECONDS)
|
||||
return TRUE
|
||||
|
||||
if(type == "telemetry")
|
||||
analyze_telemetry(payload)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user