forked from mirrors/0ad
Fix reloading config for cinema
This fixes7df7566d7c, which added automatic switching off silhouettes in cinema mode while resetting the value when leaving cinema mode. Reloading can only be done for a given config namespace. Fixes: #7552 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> (cherry picked from commit32edc28cda) Signed-off-by: phosit <phosit@autistici.org>
This commit is contained in:
@@ -705,7 +705,7 @@ function updateCinemaPath()
|
||||
{
|
||||
// TODO: Keyboard shortcuts can still try to toggle silhouettes
|
||||
// which would behave incorrectly on reset.
|
||||
Engine.ConfigDB_Reload();
|
||||
Engine.ConfigDB_Reload("user");
|
||||
g_HasHiddenSilhouettes = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user