Skip to content

Commit

Permalink
Replaced § with \u00a7 in AutoGG.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Plextora committed Jan 5, 2025
1 parent 05bb7a8 commit c2b6db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/feature/module/impl/game/AutoGG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void AutoGG::onText(Event& evG) {
ChatMessageEvent& ev = reinterpret_cast<ChatMessageEvent&>(evG);

std::wstring chatMessage = util::StrToWStr(ev.getMessage());
std::wstring hiveDetectMessage = L"§r§c§lGame OVER!";
std::wstring hiveDetectMessage = L"\u00a7r\u00a7c\u00a7lGame OVER!";
SDK::LocalPlayer* localPlayer = SDK::ClientInstance::get()->getLocalPlayer();

if (localPlayer && chatMessage.find(hiveDetectMessage) != std::string::npos) {
Expand Down

0 comments on commit c2b6db1

Please sign in to comment.