Fix reloading config for cinema

This fixes 7df7566d7c, 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 commit 32edc28cda)
Signed-off-by: phosit <phosit@autistici.org>
This commit is contained in:
Ralph Sennhauser 2025-11-09 17:32:57 +01:00 committed by phosit
parent 1e1db43854
commit 526deb30f0
No known key found for this signature in database
GPG key ID: C9430B600671C268

View file

@ -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;
}
}