mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 23:12:49 +00:00
Show the session page again after disconnecting while playing a cinematic path.
This was SVN commit r19860.
This commit is contained in:
@@ -658,6 +658,7 @@ function handleNetStatusMessage(message)
|
||||
Engine.SetPaused(true, false);
|
||||
|
||||
g_Disconnected = true;
|
||||
updateCinemaPath();
|
||||
closeOpenDialogs();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -867,7 +867,7 @@ function confirmExit()
|
||||
|
||||
function updateCinemaPath()
|
||||
{
|
||||
let isPlayingCinemaPath = GetSimState().cinemaPlaying;
|
||||
let isPlayingCinemaPath = GetSimState().cinemaPlaying && !g_Disconnected;
|
||||
|
||||
Engine.GetGUIObjectByName("sn").hidden = !g_ShowGUI || isPlayingCinemaPath;
|
||||
Engine.Renderer_SetSilhouettesEnabled(!isPlayingCinemaPath && Engine.ConfigDB_GetValue("user", "silhouettes") == "true");
|
||||
|
||||
Reference in New Issue
Block a user