mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-26 04:48:17 +01:00
This commit is contained in:
parent
1ed3c4bb27
commit
06260c6f0f
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ function isPaletteFile(path) { #region
|
||||||
} #endregion
|
} #endregion
|
||||||
|
|
||||||
function loadPalette(path) { #region
|
function loadPalette(path) { #region
|
||||||
if(!file_exists_empty(path)) return [];
|
if(!file_exists_empty(path)) return [];
|
||||||
if(!isPaletteFile(path)) return [];
|
if(!isPaletteFile(path)) return [];
|
||||||
|
|
||||||
var ext = string_lower(filename_ext(path));
|
var ext = string_lower(filename_ext(path));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue