From 3e82c97a8b3fd99490aee0977cd5335e5a4c716c Mon Sep 17 00:00:00 2001 From: san7890 Date: Sun, 26 Nov 2023 09:42:29 -0700 Subject: [PATCH] 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: --- 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 44a914a1b90..7584bd5a411 100644 --- a/code/datums/components/listen_and_repeat.dm +++ b/code/datums/components/listen_and_repeat.dm @@ -74,7 +74,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())