Change admins music title hiding to hide on media player (#59667)

This commit is contained in:
Jonathan Rubenstein
2021-06-21 20:35:10 +01:00
committed by GitHub
parent 4ed9b28b8a
commit 5d44d536e2
+1 -1
View File
@@ -111,11 +111,11 @@
music_extra_data["start"] = data["start_time"]
music_extra_data["end"] = data["end_time"]
music_extra_data["link"] = data["webpage_url"]
music_extra_data["title"] = data["title"]
var/res = tgui_alert(usr, "Show the title of and link to this song to the players?\n[title]",, list("No", "Yes", "Cancel"))
switch(res)
if("Yes")
music_extra_data["title"] = data["title"]
to_chat(world, span_boldannounce("An admin played: [webpage_url]"), confidential = TRUE)
if("Cancel")
return