[Shared Bank] Add additional popup to shared bank warning message, as client-side filters can cause the message to be unseen. (#1368)

This commit is contained in:
Alex 2021-05-24 21:15:37 -04:00 committed by GitHub
parent b65cf4c081
commit 93329b4b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1450,7 +1450,12 @@ void Client::OPMoveCoin(const EQApplicationPacket* app)
}
else{
if (to_bucket == &m_pp.platinum_shared || from_bucket == &m_pp.platinum_shared){
this->Message(Chat::Red, "::: WARNING! ::: SHARED BANK IS DISABLED AND YOUR PLATINUM WILL BE DESTROYED IF YOU PUT IT HERE");
this->SendPopupToClient(
"Shared Bank Warning",
"<c \"#F62217\">::: WARNING! :::<br>"
"SHARED BANK IS DISABLED AND YOUR PLATINUM WILL BE DESTROYED IF YOU PUT IT HERE!</c>"
);
this->Message(Chat::Red, "::: WARNING! ::: SHARED BANK IS DISABLED AND YOUR PLATINUM WILL BE DESTROYED IF YOU PUT IT HERE!");
}
}
}