From 6caecbcaa809bdca36c24206ea2e5628ecf9c06e Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:44:27 +0300 Subject: [PATCH] [MIRROR] Fixes Poly not saving data between shifts [MDB IGNORE] (#835) * Fixes Poly not saving data between shifts (#79922) --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: san7890 --- code/datums/components/listen_and_repeat.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/listen_and_repeat.dm b/code/datums/components/listen_and_repeat.dm index 88a8644d262..307e515bbb2 100644 --- a/code/datums/components/listen_and_repeat.dm +++ b/code/datums/components/listen_and_repeat.dm @@ -79,7 +79,7 @@ SIGNAL_HANDLER var/atom/movable/atom_source = source var/datum/ai_controller/controller = atom_source.ai_controller - if(LAZYLEN(speech_buffer)) // what? well whatever let's just move on + if(!LAZYLEN(speech_buffer)) // what? well whatever let's just move on return controller.set_blackboard_key(BB_EXPORTABLE_STRING_BUFFER_LIST, speech_buffer.Copy())