1
0
forked from 0ad/0ad

Only send game report if ranking is enabled.

This was SVN commit r14936.
This commit is contained in:
JoshuaJB 2014-04-16 14:00:09 +00:00
parent a9b34da617
commit fe4f17fd73

View File

@ -898,7 +898,7 @@ function stopAmbient()
// Send a report on the game status to the lobby
function reportGame(extendedSimState)
{
if (!Engine.HasXmppClient())
if (!Engine.HasXmppClient() || !Engine.IsRankedGame())
return;
// units
var unitsClasses = [