From c166f9bbc03e7d20a219466e554ec580cba1b2ff Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 26 Nov 2023 18:29:14 +0100 Subject: [PATCH] [MIRROR] Fixes Poly not saving data between shifts [MDB IGNORE] (#25263) * Fixes Poly not saving data between shifts (#79922) ## About The Pull Request Screwup in #79762 (b251b9dbb0938ed28be12731a4cb2d1525f3e211) This definitely worked two months ago I have no clue when this check got swapped around. ## Changelog :cl: fix: Poly should now remember phrases between shifts. /:cl: * Fixes Poly not saving data between shifts --------- 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())