Skip to content

Commit

Permalink
[MIRROR] Fixes Poly not saving data between shifts [MDB IGNORE] (#25263)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Nov 26, 2023
1 parent a99bae5 commit c166f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/listen_and_repeat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit c166f9b

Please sign in to comment.