From c05c2a4d0ef70f8eaf7514016e22d99103479719 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Wed, 5 Jun 2024 20:40:57 -0400 Subject: [PATCH] Fix language panel unlocking the camera --- src/pc/djui/djui_panel_language.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pc/djui/djui_panel_language.c b/src/pc/djui/djui_panel_language.c index 6025d9a5..28dd32f2 100644 --- a/src/pc/djui/djui_panel_language.c +++ b/src/pc/djui/djui_panel_language.c @@ -10,6 +10,7 @@ #include "pc/configfile.h" #include "pc/os/os.h" #include "pc/lua/smlua_hooks.h" +#include "game/bettercamera.h" extern bool directory_sanity_check(struct dirent* dir, char* dirPath, char* outPath); static bool sTrue = true; @@ -70,6 +71,7 @@ static void djui_panel_language_destroy(UNUSED struct DjuiBase* caller) { if (configLanguage[0] == '\0') { snprintf(configLanguage, MAX_CONFIG_STRING, "%s", "English"); } + newcam_init_settings(); gPanelLanguageOnStartup = false; }