mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 05:26:47 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user