From e6f31948330c7cbb29b2d697fce43ffa24a77f70 Mon Sep 17 00:00:00 2001 From: branan Date: Sat, 4 Feb 2012 09:41:18 -0800 Subject: [PATCH] Only shutdown external clients on link fail --- Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp b/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp index 9749fb4f..9c0fdc9d 100644 --- a/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp +++ b/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp @@ -167,8 +167,10 @@ void plNetLinkingMgr::NCAgeJoinerCallback ( if (!params->success) { plNetClientMgr::StaticErrorMsg(params->msg); hsMessageBox(params->msg, "Linking Error", hsMessageBoxNormal, hsMessageBoxIconError); +#ifdef PLASMA_EXTERNAL_RELEASE plClientMsg* clientMsg = new plClientMsg(plClientMsg::kQuit); clientMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY)); +#endif return; }