diff --git a/code/client/src/core/ui/chat.cpp b/code/client/src/core/ui/chat.cpp index 6b99c25..7361cc3 100644 --- a/code/client/src/core/ui/chat.cpp +++ b/code/client/src/core/ui/chat.cpp @@ -93,7 +93,8 @@ namespace MafiaMP::Core::UI { strcpy(_inputText, ""); } - _isFocused = false; + _historyPos = -1; + _isFocused = false; LockControls(false); if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) {