Update script file path to include 'scripts' subdirectory
Adjusted the file path resolution to include the 'scripts' folder for better organization and alignment with directory structure. Fallback to the default template remains unchanged.
This commit is contained in:
parent
895f6c94b5
commit
eefb13c59b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${script_name}x" != "x" ]]; then
|
if [[ "${script_name}x" != "x" ]]; then
|
||||||
script_file="${root_dir}/${script_name}.png"
|
script_file="${root_dir}/scripts/${script_name}.png"
|
||||||
else
|
else
|
||||||
script_file="${DIR}/templates/map_background.png"
|
script_file="${DIR}/templates/map_background.png"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue