mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Talk Sound Refactor (#17691)
* voices use a unified list * Move that back * unneeded file * use subsystem * old order * matching * matching again * whitespace * another whitespace line * global that's never used * more cleanup * little better naming * lets just use the vars * oops needed that * incorrect comment --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
var/list/possible_voice_types = get_talk_sound()
|
||||
var/choice = tgui_input_list(src, "Which set of sounds would you like to use for your character's speech sounds?", "Voice Sounds", possible_voice_types)
|
||||
if(!choice)
|
||||
voice_sounds_list = GLOB.talk_sound
|
||||
voice_sounds_list = DEFAULT_TALK_SOUNDS
|
||||
voice_sounds_list = get_talk_sound(choice)
|
||||
|
||||
/mob/living/proc/save_private_notes(mob/user)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
var/prefsound = client.prefs.voice_sound
|
||||
voice_sounds_list = get_talk_sound(prefsound)
|
||||
else
|
||||
voice_sounds_list = GLOB.talk_sound
|
||||
voice_sounds_list = DEFAULT_TALK_SOUNDS
|
||||
resize(size_multiplier, animate = FALSE, uncapped = has_large_resize_bounds(), ignore_prefs = TRUE, aura_animation = FALSE)
|
||||
|
||||
return .
|
||||
|
||||
Reference in New Issue
Block a user