From 92bd4379d4b92aefc22ebd9ad1df8fb894fd0730 Mon Sep 17 00:00:00 2001
From: larentoun <31931237+larentoun@users.noreply.github.com>
Date: Tue, 9 Jul 2024 18:12:30 +0300
Subject: [PATCH] update dna tts seed on vv change

---
 modular_bandastation/tts/code/tts_component.dm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modular_bandastation/tts/code/tts_component.dm b/modular_bandastation/tts/code/tts_component.dm
index aa995d23a1208..6327dbb7ec9ba 100644
--- a/modular_bandastation/tts/code/tts_component.dm
+++ b/modular_bandastation/tts/code/tts_component.dm
@@ -93,6 +93,9 @@
 	if(!new_tts_seed)
 		return null
 	tts_seed = new_tts_seed
+	if(iscarbon(being_changed))
+		var/mob/living/carbon/carbon = being_changed
+		carbon.dna?.tts_seed_dna = tts_seed
 
 /datum/component/tts_component/proc/get_random_tts_seed_by_gender()
 	var/atom/being_changed = parent