fix developper overlay in visual replay, patch by elexis, fixes #3435
This was SVN commit r17063.
This commit is contained in:
parent
1456db00fc
commit
a68d5dae0d
@ -26,7 +26,12 @@ function reallyStartVisualReplay(replayDirectory)
|
||||
Engine.SwitchGuiPage("page_loading.xml", {
|
||||
"attribs": Engine.GetReplayAttributes(replayDirectory),
|
||||
"isNetworked" : false,
|
||||
"playerAssignments": {},
|
||||
"playerAssignments": {
|
||||
"local":{
|
||||
"name": translate("You"),
|
||||
"player": -1
|
||||
}
|
||||
},
|
||||
"savedGUIData": "",
|
||||
"isReplay" : true
|
||||
});
|
||||
|
@ -161,6 +161,9 @@ function init(initData, hotloadData)
|
||||
}
|
||||
else // Needed for autostart loading option
|
||||
{
|
||||
if (g_IsReplay)
|
||||
g_PlayerAssignments.local.player = -1;
|
||||
|
||||
g_Players = getPlayerData(null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user