From f348e036859536612a01ef35c142bb2f1e879e65 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:31:36 -0400 Subject: [PATCH] Enable directory sanity check for player palettes --- src/game/player_palette.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/player_palette.c b/src/game/player_palette.c index 9e2c9215c..a0b6fda68 100644 --- a/src/game/player_palette.c +++ b/src/game/player_palette.c @@ -73,7 +73,7 @@ void player_palettes_read(const char* palettesPath, bool appendPalettes) { char path[SYS_MAX_PATH] = { 0 }; while ((dir = os_readdir(d)) != NULL) { // sanity check / fill path[] - //if (!directory_sanity_check(dir, lpath, path)) { continue; } + if (!directory_sanity_check(dir, lpath, path)) { continue; } snprintf(path, SYS_MAX_PATH, "%s", os_get_dir_name(dir)); // strip the name before the .