Return "local" from GetPlayerGUID to avoid duplicate checks and allow AIs to send private messages to the single player. Refs #4431.

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D38
This was SVN commit r19112.
This commit is contained in:
elexis
2017-01-05 10:22:39 +00:00
parent 4068f2e14a
commit 3c8fc4f263
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ void DisconnectNetworkGame(ScriptInterface::CxPrivate* UNUSED(pCxPrivate))
std::string GetPlayerGUID(ScriptInterface::CxPrivate* UNUSED(pCxPrivate))
{
if (!g_NetClient)
return std::string();
return "local";
return g_NetClient->GetGUID();
}