From e49852ba6767e7c0aa2cf861388a1d6798901c38 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Fri, 25 Aug 2023 20:45:35 -0700 Subject: [PATCH] Fix blank speech bubbles --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 8fe0fab..36a3080 100644 --- a/main.c +++ b/main.c @@ -4767,7 +4767,7 @@ MD_String8 last_said_sentence(Entity *npc) for(Memory *cur = npc->memories_last; cur; cur = cur->prev) { - if(cur->context.author_npc_kind == npc->npc_kind) + if(cur->context.author_npc_kind == npc->npc_kind && cur->speech.text_length > 0) { to_return = TextChunkString8(cur->speech); break;