Ticket #3040: less_lobby_updates_v1.patch
File less_lobby_updates_v1.patch, 726 bytes (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/session/session.js
function showTimeWarpMessageBox() 1043 1043 /** 1044 1044 * Send a report on the gamestatus to the lobby. 1045 1045 */ 1046 1046 function reportGame() 1047 1047 { 1048 if (!Engine.HasXmppClient() || !Engine.IsRankedGame()) 1048 // Only 1v1 games are rated (and Gaia is part of g_Players) 1049 if (!Engine.HasXmppClient() || !Engine.IsRankedGame() || g_Players.length != 3) 1049 1050 return; 1050 1051 1051 1052 let extendedSimState = Engine.GuiInterfaceCall("GetExtendedSimulationState"); 1052 1053 1053 1054 let unitsClasses = [