This commit is contained in:
Tanasart 2023-12-11 18:03:38 +07:00
parent 1ed3c4bb27
commit 06260c6f0f

View file

@ -12,8 +12,8 @@ function isPaletteFile(path) { #region
} #endregion
function loadPalette(path) { #region
if(!file_exists_empty(path)) return [];
if(!isPaletteFile(path)) return [];
if(!file_exists_empty(path)) return [];
if(!isPaletteFile(path)) return [];
var ext = string_lower(filename_ext(path));