From ae5b49ce9392fec9951d7cd6bb273ff2c8e8ba31 Mon Sep 17 00:00:00 2001 From: staphen Date: Sun, 1 Jun 2025 09:26:17 -0400 Subject: [PATCH] Fix crash due to text selection in chat box --- Source/control.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/control.cpp b/Source/control.cpp index 62be5da82..ce8711c17 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1692,6 +1692,7 @@ void ResetChat() { ChatFlag = false; SDL_StopTextInput(); + ChatCursor = {}; ChatInputState = std::nullopt; sgbPlrTalkTbl = 0; RedrawEverything();