[MIRROR] Music Widget Modifications + Request Music Verb [MDB IGNORE] (#20186)

* Music Widget Modifications + Request Music Verb

* Apply suggestions from code review

Co-authored-by: SomeRandomOwl <2568378+SomeRandomOwl@users.noreply.github.com>

---------

Co-authored-by: SomeRandomOwl <2568378+SomeRandomOwl@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-03-31 02:48:06 +01:00
committed by GitHub
co-authored by SomeRandomOwl GoldenAlpharex
parent 31e66a86d9
commit 0f653cc966
14 changed files with 249 additions and 100 deletions
+10
View File
@@ -1790,3 +1790,13 @@
if(!paper_to_show)
return
paper_to_show.ui_interact(usr)
else if(href_list["play_internet"])
if(!check_rights(R_SOUND))
return
var/link_url = href_list["play_internet"]
if(!link_url)
return
web_sound(usr, link_url)