Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/session.js
Show First 20 Lines • Show All 1,561 Lines • ▼ Show 20 Lines | else | ||||
}); | }); | ||||
} | } | ||||
Engine.SendChangeStateGame(connectedPlayers, playerDataToStringifiedTeamList(minPlayerData)); | Engine.SendChangeStateGame(connectedPlayers, playerDataToStringifiedTeamList(minPlayerData)); | ||||
} | } | ||||
/** | /** | ||||
* Send a report on the gamestatus to the lobby. | * Send a report on the gamestatus to the lobby. | ||||
* Keep in sync with source/tools/XpartaMuPP/LobbyRanking.py | |||||
*/ | */ | ||||
function reportGame() | function reportGame() | ||||
{ | { | ||||
// Only 1v1 games are rated (and Gaia is part of g_Players) | // Only 1v1 games are rated (and Gaia is part of g_Players) | ||||
if (!Engine.HasXmppClient() || !Engine.IsRankedGame() || | if (!Engine.HasXmppClient() || !Engine.IsRankedGame() || | ||||
g_Players.length != 3 || Engine.GetPlayerID() == -1) | g_Players.length != 3 || Engine.GetPlayerID() == -1) | ||||
return; | return; | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator