[Hotfix] Crash fix that apparently didn't make it in another PR

This commit is contained in:
Akkadius 2021-09-13 14:15:08 -05:00
parent ce5fa9502f
commit 9589bf6bf8

View File

@ -11146,9 +11146,11 @@ void Client::Handle_OP_PopupResponse(const EQApplicationPacket *app)
break;
case POPUPID_DIAWIND:
response = GetEntityVariable(DIAWIND_RESPONSE_KEY.c_str());
if (!response.empty()) {
ChannelMessageReceived(8, 0, 100, response.c_str());
if (EntityVariableExists(DIAWIND_RESPONSE_KEY.c_str())) {
response = GetEntityVariable(DIAWIND_RESPONSE_KEY.c_str());
if (!response.empty()) {
ChannelMessageReceived(8, 0, 100, response.c_str());
}
}
break;