Skip to content

Commit

Permalink
Fixed crash when running send chat hotkey whilst chat is focussed
Browse files Browse the repository at this point in the history
Fixed some chat commands being added to sent log when the player didn't type them
  • Loading branch information
3vcloud committed Feb 28, 2025
1 parent bdb5576 commit 2d2f6c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file modified Dependencies/GWCA/bin/gwca.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Dependencies/GWCA/include/GWCA/GWCAVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#define GWCA_VERSION_MAJOR 1
#define GWCA_VERSION_MINOR 0
#define GWCA_VERSION_PATCH 13
#define GWCA_VERSION_PATCH 14
#define GWCA_VERSION_BUILD 0
#define GWCA_VERSION "1.0.13.0"
#define GWCA_VERSION "1.0.14.0"

namespace GWCA {
constexpr int VersionMajor = GWCA_VERSION_MAJOR;
Expand Down
4 changes: 3 additions & 1 deletion GWToolboxdll/Windows/Hotkeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,9 @@ void HotkeySendChat::Execute()
if (show_message_in_emote_channel && channel == L'/') {
Log::Flash("/%s", message);
}
GW::Chat::SendChat(channel, message);
GW::GameThread::Enqueue([&]() {
GW::Chat::SendChat(channel, message);
});
}

HotkeyUseItem::HotkeyUseItem(const ToolboxIni* ini, const char* section)
Expand Down

0 comments on commit 2d2f6c6

Please sign in to comment.