Only send a gamereport to the lobbybot for 1v1s (as only those are rated), fixes #3040.

This was SVN commit r18018.
This commit is contained in:
elexis 2016-04-11 09:54:06 +00:00
parent 5ac76ecf89
commit 649cc82ff1

View file

@ -1045,7 +1045,8 @@ function showTimeWarpMessageBox()
*/
function reportGame()
{
if (!Engine.HasXmppClient() || !Engine.IsRankedGame())
// Only 1v1 games are rated (and Gaia is part of g_Players)
if (!Engine.HasXmppClient() || !Engine.IsRankedGame() || g_Players.length != 3)
return;
let extendedSimState = Engine.GuiInterfaceCall("GetExtendedSimulationState");