Skip to content

Commit

Permalink
516 hrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
Seefaaa committed Dec 29, 2024
1 parent 01eebca commit 7bfa521
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/datums/components/web_sound_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define VV_HK_SET_LOOP "set_loop"
#define VV_HK_SET_RANGE "set_range"

#define STOP(src) "(<a href='?src=[REF(src)];stop=1'>STOP</a>)"
#define STOP(src) "(<a href='byond://?src=[REF(src)];stop=1'>STOP</a>)"

#define get_volume(player, atom) (player.parent != atom ? (player.range - get_dist(player.parent, atom) - 0.9) / player.range : 1)
#define check_timestamp(track) (world.time - track.timestamp < WEB_SOUND_CACHE_DURATION)
Expand Down
10 changes: 5 additions & 5 deletions code/game/machinery/electrical_jukebox.dm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define STOP(src) "(<a href='?src=[REF(src)];stop=1'>STOP</a>)"
#define REMOVEQUEUE(src, track) "(<a href='?src=[REF(src)];removequeue=[REF(track)]'>REMOVE</a>)"
#define DENYREQUEST(src, track) "(<a href='?src=[REF(src)];deny=[REF(track)]'>DENY</a>)"
#define BANJUKEBOX(src, client) "(<a href='?src=[REF(src)];ban=[REF(client)]'>JUKEBOX BAN</a>)"
#define UNBANJUKEBOX(src, client) "(<a href='?src=[REF(src)];unban=[REF(client)]'>UNBAN</a>)"
#define STOP(src) "(<a href='byond://?src=[REF(src)];stop=1'>STOP</a>)"
#define REMOVEQUEUE(src, track) "(<a href='byond://?src=[REF(src)];removequeue=[REF(track)]'>REMOVE</a>)"
#define DENYREQUEST(src, track) "(<a href='byond://?src=[REF(src)];deny=[REF(track)]'>DENY</a>)"
#define BANJUKEBOX(src, client) "(<a href='byond://?src=[REF(src)];ban=[REF(client)]'>JUKEBOX BAN</a>)"
#define UNBANJUKEBOX(src, client) "(<a href='byond://?src=[REF(src)];unban=[REF(client)]'>UNBAN</a>)"

/obj/machinery/electrical_jukebox
name = "electrical jukebox"
Expand Down

0 comments on commit 7bfa521

Please sign in to comment.