1
0
forked from mirrors/0ad

Clears selections when loading saved game, patch by RefinedCode (fixes buggy selection behavior when using quicksave/quickload), fixes #2178

This was SVN commit r13981.
This commit is contained in:
historic_bruno
2013-10-10 23:58:29 +00:00
parent a00e57df72
commit f5eeed9cf7
@@ -273,6 +273,9 @@ function getSavedGameData()
function restoreSavedGameData(data)
{
// Clear selection when loading a game
g_Selection.reset();
// Restore control groups
for (var groupNumber in data.groups)
{