mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-28 10:43:23 +00:00
Sounds played with sound_to_playing_players are less tinny
This commit is contained in:
@@ -85,7 +85,7 @@
|
|||||||
for(var/M in GLOB.player_list)
|
for(var/M in GLOB.player_list)
|
||||||
if(ismob(M) && !isnewplayer(M))
|
if(ismob(M) && !isnewplayer(M))
|
||||||
var/mob/MO = M
|
var/mob/MO = M
|
||||||
MO.playsound_local(get_turf(MO), sound, volume, vary, pressure_affected = FALSE)
|
MO.playsound_local(MO, sound, volume, vary, pressure_affected = FALSE)
|
||||||
|
|
||||||
/proc/open_sound_channel()
|
/proc/open_sound_channel()
|
||||||
var/static/next_channel = 1 //loop through the available 1024 - (the ones we reserve) channels and pray that its not still being used
|
var/static/next_channel = 1 //loop through the available 1024 - (the ones we reserve) channels and pray that its not still being used
|
||||||
|
|||||||
@@ -517,14 +517,14 @@
|
|||||||
return
|
return
|
||||||
SSblackbox.add_details("admin_secrets_fun_used","There Can Be Only One")
|
SSblackbox.add_details("admin_secrets_fun_used","There Can Be Only One")
|
||||||
usr.client.only_one()
|
usr.client.only_one()
|
||||||
send_to_playing_players('sound/misc/highlander.ogg')
|
sound_to_playing_players('sound/misc/highlander.ogg')
|
||||||
|
|
||||||
if("delayed_onlyone")
|
if("delayed_onlyone")
|
||||||
if(!check_rights(R_FUN))
|
if(!check_rights(R_FUN))
|
||||||
return
|
return
|
||||||
SSblackbox.add_details("admin_secrets_fun_used","There Can Be Only One")
|
SSblackbox.add_details("admin_secrets_fun_used","There Can Be Only One")
|
||||||
usr.client.only_one_delayed()
|
usr.client.only_one_delayed()
|
||||||
send_to_playing_players('sound/misc/highlander_delayed.ogg')
|
sound_to_playing_players('sound/misc/highlander_delayed.ogg')
|
||||||
|
|
||||||
if("onlyme")
|
if("onlyme")
|
||||||
if(!check_rights(R_FUN))
|
if(!check_rights(R_FUN))
|
||||||
|
|||||||
Reference in New Issue
Block a user