fix: show group kick/party command failures in UIError overlay

- handleGroupUninvite: "You have been removed from the group." now shown as UIError
- handlePartyCommandResult: all party errors (group full, not leader, wrong faction,
  ignoring you, etc.) now also shown as UIError overlay
This commit is contained in:
Kelsi 2026-03-17 17:43:10 -07:00
parent b22183b000
commit 0f2f9ff78d

View file

@ -18894,6 +18894,7 @@ void GameHandler::handleGroupUninvite(network::Packet& packet) {
msg.type = ChatType::SYSTEM;
msg.language = ChatLanguage::UNIVERSAL;
msg.message = "You have been removed from the group.";
addUIError("You have been removed from the group.");
addLocalChatMessage(msg);
}
@ -18928,6 +18929,7 @@ void GameHandler::handlePartyCommandResult(network::Packet& packet) {
static_cast<uint32_t>(data.result));
}
addUIError(buf);
MessageChatData msg;
msg.type = ChatType::SYSTEM;
msg.language = ChatLanguage::UNIVERSAL;