mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Fix language panel unlocking the camera
This commit is contained in:
parent
eaeaeb0f7f
commit
c05c2a4d0e
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
#include "pc/configfile.h"
|
#include "pc/configfile.h"
|
||||||
#include "pc/os/os.h"
|
#include "pc/os/os.h"
|
||||||
#include "pc/lua/smlua_hooks.h"
|
#include "pc/lua/smlua_hooks.h"
|
||||||
|
#include "game/bettercamera.h"
|
||||||
|
|
||||||
extern bool directory_sanity_check(struct dirent* dir, char* dirPath, char* outPath);
|
extern bool directory_sanity_check(struct dirent* dir, char* dirPath, char* outPath);
|
||||||
static bool sTrue = true;
|
static bool sTrue = true;
|
||||||
|
@ -70,6 +71,7 @@ static void djui_panel_language_destroy(UNUSED struct DjuiBase* caller) {
|
||||||
if (configLanguage[0] == '\0') {
|
if (configLanguage[0] == '\0') {
|
||||||
snprintf(configLanguage, MAX_CONFIG_STRING, "%s", "English");
|
snprintf(configLanguage, MAX_CONFIG_STRING, "%s", "English");
|
||||||
}
|
}
|
||||||
|
newcam_init_settings();
|
||||||
gPanelLanguageOnStartup = false;
|
gPanelLanguageOnStartup = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue