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:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user