mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
11 lines
211 B
Text
11 lines
211 B
Text
|
function try_get_path(path) {
|
||
|
if(!file_exists(path)) {
|
||
|
var local_path = filename_dir(CURRENT_PATH) + "\\" + path;
|
||
|
if(file_exists(local_path))
|
||
|
return local_path;
|
||
|
else
|
||
|
return -1;
|
||
|
}
|
||
|
|
||
|
return path;
|
||
|
}
|