mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Makes audible emotes use voice freq setting
*belch [BASS BOOSTED]
This commit is contained in:
@@ -190,7 +190,7 @@ var/global/list/emotes_by_key
|
||||
//CHOMPEdit Add - Preference for variable pitch
|
||||
if(istype(user, /mob))
|
||||
var/mob/u = user
|
||||
playsound(user.loc, sound_to_play, use_sound["vol"], u.is_preference_enabled(/datum/client_preference/random_emote_pitch) && sound_vary, frequency = null, preference = sound_preferences)
|
||||
playsound(user.loc, sound_to_play, use_sound["vol"], u.is_preference_enabled(/datum/client_preference/random_emote_pitch) && sound_vary, frequency = u.voice_freq, preference = sound_preferences)
|
||||
else
|
||||
playsound(user.loc, sound_to_play, use_sound["vol"], sound_vary, frequency = null, preference = sound_preferences) //VOREStation Add - Preference
|
||||
//CHOMPEdit End - Previous line used to be outside an if/else before the edit.
|
||||
|
||||
Reference in New Issue
Block a user