mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-14 06:23:55 +01:00
10 lines
207 B
Plaintext
10 lines
207 B
Plaintext
function try_get_path(path) {
|
|
if(file_exists_empty(path))
|
|
return path;
|
|
|
|
var local_path = filename_dir(PROJECT.path) + "/" + path;
|
|
if(file_exists_empty(local_path))
|
|
return local_path;
|
|
|
|
return -1;
|
|
} |